Skip to content

Commit a138f79

Browse files
authored
Merge pull request #11 from rensio/master
Removed typo at "useScrollToTopOnDependencyChange"
2 parents 0bce76d + 21dc250 commit a138f79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ Scrolls to top when one of the supplied dependencies changes. Can be used for in
392392
Usage:
393393
394394
```typescript
395-
import useStateWithRef from '@freshheads/javascript-essentials/build/react/hooks/useScrollToTopOnDependencyChange';
395+
import useScrollToTopOnDependencyChange from '@freshheads/javascript-essentials/build/react/hooks/useScrollToTopOnDependencyChange';
396396

397397
const location = useLocation(); // react-router-dom
398398

0 commit comments

Comments
 (0)