Skip to content

Commit

Permalink
syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jchris committed Feb 9, 2024
1 parent 71ee18c commit d20b447
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/react/src/useFireproof.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ export function useFireproof(name: string | Database = "useFireproof", config: C

useEffect(() => {
if (!docId) return;
e;
const unsubscribe = database.subscribe((changes) => {
if (changes.find((c) => c._id === docId)) {
void refreshDoc(); // todo use change.value
Expand Down

0 comments on commit d20b447

Please sign in to comment.