diff options
author | Sebastian <sebasjm@gmail.com> | 2022-08-26 12:59:00 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-08-26 12:59:09 -0300 |
commit | cf894f1dd309e48d8be380c56175219027c84fb7 (patch) | |
tree | 8aa434c47d4ed366f4b3d5f0bd89fc696a388b9d /packages/anastasis-webui/src/hooks/use-anastasis-reducer.ts | |
parent | eef2d4702019b9de64efc01fff097b437e65ce39 (diff) | |
download | wallet-core-cf894f1dd309e48d8be380c56175219027c84fb7.tar.xz |
fix #7065
Diffstat (limited to 'packages/anastasis-webui/src/hooks/use-anastasis-reducer.ts')
-rw-r--r-- | packages/anastasis-webui/src/hooks/use-anastasis-reducer.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/anastasis-webui/src/hooks/use-anastasis-reducer.ts b/packages/anastasis-webui/src/hooks/use-anastasis-reducer.ts index f78576118..3ad563ee6 100644 --- a/packages/anastasis-webui/src/hooks/use-anastasis-reducer.ts +++ b/packages/anastasis-webui/src/hooks/use-anastasis-reducer.ts @@ -180,7 +180,7 @@ function getStateFromStorage(): any { state = JSON.parse(s); } } catch (e) { - console.log(e); + console.log("ERROR: getStateFromStorage ", e); } return state ?? undefined; } @@ -203,7 +203,7 @@ export function useAnastasisReducer(): AnastasisReducerApi { JSON.stringify(newState.reducerState), ); } catch (e) { - console.log(e); + console.log("ERROR setAnastasisState", e); } setAnastasisStateInternal(newState); @@ -239,7 +239,7 @@ export function useAnastasisReducer(): AnastasisReducerApi { }, }); }; - doUpdate().catch((e) => console.log(e)); + doUpdate().catch((e) => console.log("ERROR doUpdate", e)); }; tryUpdateProviders(); |