Skip to content

Commit d538f8c

Browse files
Update realtime-data.md (#1543)
add missing import
1 parent 5abeb4b commit d538f8c

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
@@ -16,7 +16,7 @@ Use the `useCollection()`, `useDatabaseList()`, `useDocument()`, and `useDatabas
1616

1717
```vue
1818
<script setup>
19-
import { useDatabaseList } from 'vuefire'
19+
import { useDatabaseList, useDatabaseObject } from 'vuefire'
2020
import { ref as dbRef } from 'firebase/database'
2121
2222
const todos = useDatabaseList(dbRef(db, 'todos'))

0 commit comments

Comments
 (0)