Skip to content

Commit

Permalink
doc(useFirestore): fix overload type (#2343)
Browse files Browse the repository at this point in the history
  • Loading branch information
azaleta committed Oct 25, 2022
1 parent ce3dcad commit 5da4fe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/firebase/useFirestore/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const posts = useFirestore(postsQuery)
// when it gets falsy value, return the initial value
const userId = ref('')
const userQuery = computed(() => !!userId.value && doc(db, 'users', userId.value))
const userData = useFirestore(userQuery, null)
const userData = useFirestore(userQuery, [])
```

## Share across instances
Expand Down

0 comments on commit 5da4fe8

Please sign in to comment.