Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
"debug": "^4.3.2",
"immer": "9.0.5",
"lodash": "^4.17.21",
"reduce-reducers": "^1.0.4"
"reduce-reducers": "^1.0.4",
"firebase": "^8.7.1"
Copy link

@puppybits puppybits Dec 2, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we have another import then it will cause conflicts in the package deps. We already have getFirestore() function so we should get it from that instead.

const serverTimestamp = (key) =>
  key === '::serverTimestamp' && getFirestore().Timestamp.now();

},
"devDependencies": {
"@babel/cli": "^7.14.5",
Expand Down Expand Up @@ -70,7 +71,6 @@
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.24.0",
"firebase": "^8.7.1",
"husky": "^7.0.1",
"kelonio": "0.6.0",
"mocha": "^7.0.1",
Expand Down