Skip to content

Commit f4c81a4

Browse files
committed
Fix useGeolocation documentation
1 parent 90d904b commit f4c81a4

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

usehooks.com/src/content/hooks/useGeolocation.mdx

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,10 @@ import StaticCodeContainer from "../../components/StaticCodeContainer.astro";
2424
<div class="reference">
2525
### Parameters
2626

27-
{" "}
28-
2927
<div class="table-container">
30-
| Name | Type | Description | | ------- | ------ | ----------- | | options |
31-
object | This is an optional configuration object provided when calling
32-
`useGeolocation`. It is used when calling
33-
`navigator.geolocation.getCurrentPosition()` and
34-
`navigator.geolocation.watchPosition()`. Some of the attributes it accepts are
35-
`enableHighAccuracy`, `timeout`, and `maximumAge`. |
28+
| Name | Type | Description |
29+
| ------- | ------ | ----------- |
30+
| options | object | This is an optional configuration object provided when calling `useGeolocation`. It is used when calling `navigator.geolocation.getCurrentPosition()` and `navigator.geolocation.watchPosition()`. Some of the attributes it accepts are `enableHighAccuracy`, `timeout`, and `maximumAge`. |
3631
</div>
3732

3833
### Return Values

0 commit comments

Comments
 (0)