Skip to content

Commit

Permalink
removed unnecessary part
Browse files Browse the repository at this point in the history
  • Loading branch information
mkbeefcake committed Dec 5, 2022
1 parent 0b40ec7 commit 6b6768c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/ui/src/common/hooks/useLocalStorage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ export const useLocalStorage = <T>(key?: string) => {
return getItem(key)
})

const [itemUpdated, setItemUpdated] = useState(0)

useEffect(() => {
setValue(getItem(key))
}, [key])
Expand Down

0 comments on commit 6b6768c

Please sign in to comment.