Skip to content

Commit 1048923

Browse files
authored
fix error in example
1 parent e930aaf commit 1048923

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)