Skip to content
This repository was archived by the owner on Feb 1, 2023. It is now read-only.

Commit 8534e73

Browse files
committed
2 parents c472a37 + bbc2770 commit 8534e73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ yarn add react-use-navigator-permissions
1111

1212
It can then be included in your project like so.
1313

14-
```
14+
```javascript
1515
import useNavigatorPermissions from 'react-use-navigator-permissions'
1616

1717
const Component = () => {
18-
const { status } = useNavigatorPermissions('geolocation')
18+
const { status, error } = useNavigatorPermissions('geolocation')
1919

2020
return (
2121
<div>{status}</div>

0 commit comments

Comments
 (0)