Skip to content

Commit eb7e479

Browse files
authored
Update README.md in storage section
Change `import` example to be consistent with other section examples
1 parent 048dcb4 commit eb7e479

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ to give a complete lifecycle for loading from Cloud Storage.
99
All hooks can be imported from `react-firebase-hooks/storage`, e.g.
1010

1111
```
12-
import { useCollection } from 'react-firebase-hooks/storage';
12+
import { useDownloadURL } from 'react-firebase-hooks/storage';
1313
```
1414

1515
List of Cloud Storage hooks:

0 commit comments

Comments
 (0)