Skip to content

Commit fb0fe41

Browse files
authored
Merge pull request #23 from jthegedus/patch-1
fix error in example
2 parents 77a1cb9 + 1048923 commit fb0fe41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firestore/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const FirestoreCollection = () => {
6060
const [value, loading, error] = useCollection(
6161
firebase.firestore().collection('hooks'),
6262
{
63-
includeMetadataChanges: true,
63+
snapshotListenOptions: { includeMetadataChanges: true }
6464
}
6565
);
6666
return (

0 commit comments

Comments
 (0)