Skip to content

Commit 698eccf

Browse files
authored
Update Location link at useLocation.md (remix-run#13908)
* Update `Location` link at `useLocation.md` * Sign CLA
1 parent 94a355f commit 698eccf

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

contributors.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@
369369
- tosinamuda
370370
- triangularcube
371371
- trungpv1601
372+
- tryonelove
372373
- TrySound
373374
- ttys026
374375
- Tumas2

docs/api/hooks/useLocation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ title: useLocation
1010

1111
[Reference Documentation ↗](https://api.reactrouter.com/v7/functions/react_router.useLocation.html)
1212

13-
Returns the current [Location]([../Other/Location](https://api.reactrouter.com/v7/interfaces/react_router.Location.html)). This can be useful if you'd like to perform some side effect whenever it changes.
13+
Returns the current [Location](https://api.reactrouter.com/v7/interfaces/react_router.Location.html). This can be useful if you'd like to perform some side effect whenever it changes.
1414

1515
```tsx
1616
import * as React from 'react'

0 commit comments

Comments
 (0)