Skip to content

Commit 5bcb5f7

Browse files
committed
chore: wait in example
1 parent c38f1cb commit 5bcb5f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nuxt/playground/pages/firestore-useDocument.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const configRef = doc(db, 'configs', 'jORwjIykFo2NmkdzTkhU')
99
const isDoneFetching = ref(false)
1010
const isAllDoneFetching = ref(false)
1111
12-
const { data: config, promise } = useDocument(configRef)
12+
const { data: config, promise } = useDocument(configRef, { wait: true })
1313
// const { data: hey } = useDocument(configRef)
1414
1515
onMounted(() => {

0 commit comments

Comments
 (0)