style fixes

This commit is contained in:
NilsUeter
2023-10-13 17:25:06 +02:00
parent 9532a6edd5
commit 1762632f26
2 changed files with 3 additions and 5 deletions
-1
View File
@@ -15,7 +15,6 @@ export function useLocalStorage(key, initValue) {
});
useEffect(() => {
console.log(state);
if (!state || state === "undefined") {
localStorage.removeItem(key);
} else {