Skip to content

Commit

Permalink
CW-firebase-quota-exceeded Update firebase settings
Browse files Browse the repository at this point in the history
  • Loading branch information
MeyerPV committed Jun 24, 2024
1 parent 99c31f8 commit 25177c7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/shared/utils/firebase.tsx
Original file line number Diff line number Diff line change
@@ -12,9 +12,6 @@ interface FirebaseError extends Error {
}

firebase.initializeApp(config.firebase);
firebase.firestore().settings({
experimentalForceLongPolling: true,
});

if (REACT_APP_ENV === Environment.Local) {
firebase.auth().useEmulator(local.firebase.authDomain);
@@ -28,8 +25,7 @@ if (REACT_APP_ENV === Environment.Local) {
firebase
.firestore()
.enablePersistence({
synchronizeTabs: true,
experimentalForceOwningTab: false,
synchronizeTabs: false,
})
.catch((error) => {
console.error("Error enabling persistence", error);

0 comments on commit 25177c7

Please sign in to comment.