diff --git a/firestore/README.md b/firestore/README.md index cd0f526..b08f112 100644 --- a/firestore/README.md +++ b/firestore/README.md @@ -60,7 +60,7 @@ const FirestoreCollection = () => { const [value, loading, error] = useCollection( firebase.firestore().collection('hooks'), { - includeMetadataChanges: true, + snapshotListenOptions: { includeMetadataChanges: true } } ); return (