From c31ccc90baa5d7f9849d578c1cc781745a735708 Mon Sep 17 00:00:00 2001 From: marknesh Date: Thu, 11 Sep 2025 23:21:52 +0300 Subject: [PATCH] fix: added query key in react firestore example --- docs/react/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/react/index.mdx b/docs/react/index.mdx index df819387..c8dfdbfb 100644 --- a/docs/react/index.mdx +++ b/docs/react/index.mdx @@ -61,7 +61,7 @@ function MyApplication() { const docRef = doc(firestore, 'cities', 'SF'); // Fetch the document using the useDocumentQuery hook - const query = useDocumentQuery(docRef); + const query = useDocumentQuery(docRef,{ queryKey: ['cities', 'SF'] }); if (query.isLoading) { return

Loading data...

;