Skip to content

Commit

Permalink
refactor(use-watch-localstorage-value.ts): remove unneccesary depende…
Browse files Browse the repository at this point in the history
…ncy array
  • Loading branch information
paghar committed Oct 20, 2023
1 parent 4f0399b commit 7b754d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/use-watch-localstorage-value.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ export const useWatchLocalStorageValue = ({
useEffect(() => {
window.addEventListener('storage', handleStorageChange);
return () => window.removeEventListener('storage', handleStorageChange);
}, []);
});
};

0 comments on commit 7b754d0

Please sign in to comment.