Skip to content

Commit

Permalink
fix(store): import firestore upon init
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelmord committed Feb 10, 2020
1 parent 5afe015 commit de1e10e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion packages/poolbase-app/src/app/next.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
'use strict';

require('./env.js');
console.log(process.env.FIREBASE_AUTH_DOMAIN);

module.exports = {
distDir: '../../../../dist/app/functions/next',
Expand Down
1 change: 1 addition & 0 deletions packages/poolbase-app/src/app/utils/auth/initFirebase.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import firebase from 'firebase/app'
import 'firebase/auth'
import 'firebase/firestore'

const config = {
apiKey: process.env.FIREBASE_PUBLIC_API_KEY,
Expand Down

0 comments on commit de1e10e

Please sign in to comment.