Skip to content

Commit

Permalink
Merge pull request #2127 from daostack/feature/CW-2046-multiple-tabs-…
Browse files Browse the repository at this point in the history
…persistence

console: error enabling offline persistence #2046
  • Loading branch information
andreymikhadyuk authored Sep 27, 2023
2 parents abb7025 + 01a4b44 commit 546d97d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/shared/utils/firebase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ if (REACT_APP_ENV === Environment.Local) {
} else {
firebase
.firestore()
.enablePersistence()
.enablePersistence({
synchronizeTabs: true,
experimentalForceOwningTab: false,
})
.catch((error) => {
console.error("Error enabling persistence", error);
});
Expand Down

0 comments on commit 546d97d

Please sign in to comment.