Skip to content

Commit 4ab9618

Browse files
vcastro45posva
andauthored
docs: fix typo between firestore and database (#1256)
Co-authored-by: Eduardo San Martin Morote <[email protected]>
1 parent 102be9b commit 4ab9618

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/guide/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ import { getDatabase } from 'firebase/database'
3333
export const firebaseApp = initializeApp({
3434
// your application settings
3535
})
36-
export const database = getFirestore(firebase)
37-
export const firestore = getDataBase(firebase)
36+
export const database = getDatabase(firebase)
37+
export const firestore = getFirestore(firebase)
3838
// ... other firebase exports
3939
```
4040

0 commit comments

Comments
 (0)