Skip to content

Commit

Permalink
Format.
Browse files Browse the repository at this point in the history
  • Loading branch information
molefrog committed Feb 2, 2024
1 parent 745dfd2 commit eb58a3d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -514,9 +514,7 @@ available options:
- **`hook: () => [location: string, setLocation: fn]`** — is a React Hook function that subscribes
to location changes. It returns a pair of current `location` string e.g. `/app/users` and a
`setLocation` function for navigation. You can use this hook from any component of your app by
calling [`useLocation()` hook](#uselocation-working-with-the-history).

Read more → [Customizing the location hook](#customizing-the-location-hook).
calling [`useLocation()` hook](#uselocation-working-with-the-history). See [Customizing the location hook](#customizing-the-location-hook).

- **`searchHook: () => [search: string, setSearch: fn]`** — similar to `hook`, but for obtaining the [current search string](#usesearch-query-strings).

Expand Down

0 comments on commit eb58a3d

Please sign in to comment.