Skip to content

Commit f0d2266

Browse files
authored
docs: Update README.md
1 parent 20160fa commit f0d2266

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,8 @@ page you choose. It does this by storing the scroll position of the element in
4848
session storage and then restoring it when the user navigates back to the page
4949
(very similar to how Remix handles scroll restoration for the `<body>`).
5050

51-
This depends on React Router's `useBeforeUnload`, `useNavigation`, and
52-
`useLocation` hooks. It could probably be generalized to work with other
53-
routers. PRs welcome.
51+
This depends on React Router's `useNavigation` and `useLocation` hooks. It could
52+
probably be generalized to work with other routers. PRs welcome.
5453

5554
## Usage
5655

0 commit comments

Comments
 (0)