Skip to content

Commit ba523fe

Browse files
joplomacedoposva
andauthored
docs: typo (#1361)
* Omission error * Update docs/guide/realtime-data.md [skip ci] --------- Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
1 parent 4dfb619 commit ba523fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/realtime-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const someTodo = useDocument(doc(collection(db, 'todos'), 'someId'))
5252

5353
</FirebaseExample>
5454

55-
These composables all 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.
55+
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

5757
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:
5858

0 commit comments

Comments
 (0)