diff options
author | Sebastian <sebasjm@gmail.com> | 2023-11-21 17:10:07 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-11-21 17:10:31 -0300 |
commit | 32182fb1b912e1136ba933c4a4f204e6e2f33de2 (patch) | |
tree | 9de9caf82632994c233fbbd4366b086818217c7d /packages/demobank-ui/src/hooks/settings.ts | |
parent | 6000a55d583832a71335310514688f1f6faed722 (diff) | |
download | wallet-core-32182fb1b912e1136ba933c4a4f204e6e2f33de2.tar.xz |
cashout creation
Diffstat (limited to 'packages/demobank-ui/src/hooks/settings.ts')
-rw-r--r-- | packages/demobank-ui/src/hooks/settings.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/demobank-ui/src/hooks/settings.ts b/packages/demobank-ui/src/hooks/settings.ts index 1e656b3ba..bd48ca680 100644 --- a/packages/demobank-ui/src/hooks/settings.ts +++ b/packages/demobank-ui/src/hooks/settings.ts @@ -73,7 +73,7 @@ const defaultSettings: Settings = { showDebugInfo: false, }; -const DEMOBANK_SETTINGS_KEY = buildStorageKey( +const BANK_SETTINGS_KEY = buildStorageKey( "bank-settings", codecForSettings(), ); @@ -83,7 +83,7 @@ export function useSettings(): [ <T extends keyof Settings>(key: T, value: Settings[T]) => void, ] { const { value, update } = useLocalStorage( - DEMOBANK_SETTINGS_KEY, + BANK_SETTINGS_KEY, defaultSettings, ); |