diff options
author | Sebastian <sebasjm@gmail.com> | 2023-04-17 11:44:22 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-04-17 11:44:22 -0300 |
commit | 6833b2bd7513f9d1a98fa5d05be3011cae23a993 (patch) | |
tree | ec61e8411d66c8542109b7c1aedbb4755355ec58 /packages | |
parent | 6e060da237af35796b1b34dce108f05eef44ceb3 (diff) | |
download | wallet-core-6833b2bd7513f9d1a98fa5d05be3011cae23a993.tar.xz |
remove console log
Diffstat (limited to 'packages')
-rw-r--r-- | packages/web-util/package.json | 3 | ||||
-rw-r--r-- | packages/web-util/src/hooks/useLocalStorage.ts | 1 | ||||
-rw-r--r-- | packages/web-util/tsconfig.json | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/packages/web-util/package.json b/packages/web-util/package.json index 3451bc0ad..f89d0bb73 100644 --- a/packages/web-util/package.json +++ b/packages/web-util/package.json @@ -50,5 +50,8 @@ "tslib": "^2.4.0", "typescript": "^4.9.4", "ws": "7.4.5" + }, + "dependencies": { + "@types/chrome": "0.0.197" } }
\ No newline at end of file diff --git a/packages/web-util/src/hooks/useLocalStorage.ts b/packages/web-util/src/hooks/useLocalStorage.ts index 264919d37..dd6c5def8 100644 --- a/packages/web-util/src/hooks/useLocalStorage.ts +++ b/packages/web-util/src/hooks/useLocalStorage.ts @@ -50,7 +50,6 @@ export function useLocalStorage( useEffect(() => { return storage.onUpdate(key, () => { const newValue = storage.get(key); - console.log("new value", key, newValue); setStoredValue(newValue ?? initialValue); }); }, []); diff --git a/packages/web-util/tsconfig.json b/packages/web-util/tsconfig.json index 3965f537d..e2ac248aa 100644 --- a/packages/web-util/tsconfig.json +++ b/packages/web-util/tsconfig.json @@ -9,6 +9,7 @@ "moduleResolution": "Node16", "sourceMap": true, "lib": [ + "DOM", "es6" ], "outDir": "lib", |