Skip to content

Commit c8945fc

Browse files
authored
docs: fix typo in realtime-data.md (#1560)
1 parent 17b79cf commit c8945fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/realtime-data.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const someTodo = useDocument(doc(collection(db, 'todos'), 'someId'))
5454

5555
Each of these composables return a Vue `Ref` containing the data. Note **this is a readonly data**, you shouldn't mutate it directly, you should instead [use the Firebase SDK](./writing-data.md). VueFire will automatically keep the data in sync with the database.
5656

57-
Sometimes, you need to start observing a different document or collection, let's say you have a _collection_ of contacts and that you display a specific contact based on the URL, e.g. displaying the contact with an id equal to `24` on `/contacts/24`, you can achieve this this by passing a _reactive variable of the data source_ to the `useDocument()`, `useDatabaseObject()`, etc composables:
57+
Sometimes, you need to start observing a different document or collection, let's say you have a _collection_ of contacts and that you display a specific contact based on the URL, e.g. displaying the contact with an id equal to `24` on `/contacts/24`, you can achieve this by passing a _reactive variable of the data source_ to the `useDocument()`, `useDatabaseObject()`, etc composables:
5858

5959
<FirebaseExample>
6060

0 commit comments

Comments
 (0)