remove console log

This commit is contained in:
Sebastian 2023-04-17 11:44:22 -03:00
parent 6e060da237
commit 6833b2bd75
No known key found for this signature in database
GPG Key ID: 173909D1A5F66069
3 changed files with 4 additions and 1 deletions

View File

@ -50,5 +50,8 @@
"tslib": "^2.4.0", "tslib": "^2.4.0",
"typescript": "^4.9.4", "typescript": "^4.9.4",
"ws": "7.4.5" "ws": "7.4.5"
},
"dependencies": {
"@types/chrome": "0.0.197"
} }
} }

View File

@ -50,7 +50,6 @@ export function useLocalStorage(
useEffect(() => { useEffect(() => {
return storage.onUpdate(key, () => { return storage.onUpdate(key, () => {
const newValue = storage.get(key); const newValue = storage.get(key);
console.log("new value", key, newValue);
setStoredValue(newValue ?? initialValue); setStoredValue(newValue ?? initialValue);
}); });
}, []); }, []);

View File

@ -9,6 +9,7 @@
"moduleResolution": "Node16", "moduleResolution": "Node16",
"sourceMap": true, "sourceMap": true,
"lib": [ "lib": [
"DOM",
"es6" "es6"
], ],
"outDir": "lib", "outDir": "lib",