Skip to content

Commit

Permalink
chore: stop referring to backend's isProduction variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ijemmao committed Jun 15, 2024
1 parent dc9ac55 commit a1ff379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/firebase.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { getApp, getApps, initializeApp } from 'firebase/app';
import { connectAuthEmulator, getAuth } from 'firebase/auth';
import { getFunctions, connectFunctionsEmulator } from 'firebase/functions';
import { isProduction } from '../config';
import firebaseSdkConfig from '../../firebase.json';
import { PRODUCTION_FIREBASE_CONFIG, STAGING_FIREBASE_CONFIG } from './firebaseConfigs';

const apps = getApps();
const isProduction = process.env.NODE_ENV === 'production';

let currentApp;
// Initialize Firebase
Expand Down

0 comments on commit a1ff379

Please sign in to comment.