Skip to content

Commit 3dbb479

Browse files
docs(database): more useful variable name for reference in example (#5915)
* Changed Database => reference and added Note I changed the variable database to references. * Update docs/database/usage/index.md Co-authored-by: Mike Hardy <[email protected]>
1 parent f0318d2 commit 3dbb479

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/database/usage/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ NOTE: To get a reference to a database other than an 'us-central1' default datab
5555
```js
5656
import { firebase } from '@react-native-firebase/database';
5757

58-
const database = firebase
58+
const reference = firebase
5959
.app()
6060
.database('https://<databaseName>.<region>.firebasedatabase.app/')
6161
.ref('/users/123');

0 commit comments

Comments
 (0)