diff --git a/docs/useLocalStorage.md b/docs/useLocalStorage.md index a00c68a600..fdb57a673c 100644 --- a/docs/useLocalStorage.md +++ b/docs/useLocalStorage.md @@ -8,14 +8,21 @@ React side-effect hook that manages a single `localStorage` key. import { useLocalStorage } from 'react-use'; const Demo = () => { - const [value, setValue, remove] = useLocalStorage('my-key', 'foo'); + const [value, setValue] = useLocalStorage('my-key', 'foo'); return (
Value: {value}
- - - +
); };