Skip to content

Commit f4ed982

Browse files
authored
fix suscribe typo (#555)
1 parent 6734b6a commit f4ed982

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/reference/README.md

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/firestore.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function getDocObservableId(ref: DocumentReference) {
3535
}
3636

3737
/**
38-
* Suscribe to Firestore Document changes
38+
* Subscribe to Firestore Document changes
3939
*
4040
* You can preload data for this hook by calling `preloadFirestoreDoc`
4141
*/
@@ -57,7 +57,7 @@ export function useFirestoreDocOnce<T = DocumentData>(ref: DocumentReference<T>,
5757
}
5858

5959
/**
60-
* Suscribe to Firestore Document changes and unwrap the document into a plain object
60+
* Subscribe to Firestore Document changes and unwrap the document into a plain object
6161
*/
6262
export function useFirestoreDocData<T = unknown>(ref: DocumentReference<T>, options?: ReactFireOptions<T>): ObservableStatus<T> {
6363
const idField = options ? checkIdField(options) : 'NO_ID_FIELD';

0 commit comments

Comments
 (0)