From e5eeb10926974dd8e0fc5e18219b6a4743cbd83d Mon Sep 17 00:00:00 2001 From: Amit Gurbani Date: Sun, 18 Dec 2022 15:38:30 +0530 Subject: [PATCH] Update querying-collections.mdx Fixed typo --- docs/firestore/querying-collections.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/firestore/querying-collections.mdx b/docs/firestore/querying-collections.mdx index 9f1993cc..b9008764 100644 --- a/docs/firestore/querying-collections.mdx +++ b/docs/firestore/querying-collections.mdx @@ -108,7 +108,7 @@ When Firestore returns data from a query, it does not provide the raw document d we are provided a [`QuerySnapshot`](https://firebase.google.com/docs/reference/js/firestore_.querysnapshot) containing an array of [`DocumentSnapshot`](https://firebase.google.com/docs/reference/js/firestore_.documentsnapshot) instances. Although these classes provide useful functionality, we sometimes just want the data from the database -for convinience. +for convenience. As shown above the `useFirestoreQuery` hook returns a `QuerySnapshot`, which requires developers to iterate over `DocumentSnapshot` instances and extract the data: