diff options
author | Sebastian <sebasjm@gmail.com> | 2024-04-26 14:31:08 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-04-26 14:31:08 -0300 |
commit | ce251b9bd38eccaca9dd43efdcf7ecf9a6a66b29 (patch) | |
tree | 7897c066937f314e9221404dc83c4178dd80bb0c /packages/bank-ui/src/context/settings.ts | |
parent | dbe5a5e5ee646b0d6824bc461c95f3c8c1572ced (diff) | |
download | wallet-core-ce251b9bd38eccaca9dd43efdcf7ecf9a6a66b29.tar.xz |
show error like bank
Diffstat (limited to 'packages/bank-ui/src/context/settings.ts')
-rw-r--r-- | packages/bank-ui/src/context/settings.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/bank-ui/src/context/settings.ts b/packages/bank-ui/src/context/settings.ts index 053fcbd12..6c61a7b4a 100644 --- a/packages/bank-ui/src/context/settings.ts +++ b/packages/bank-ui/src/context/settings.ts @@ -16,16 +16,16 @@ import { ComponentChildren, createContext, h, VNode } from "preact"; import { useContext } from "preact/hooks"; -import { BankUiSettings } from "../settings.js"; +import { UiSettings } from "../settings.js"; /** * * @author Sebastian Javier Marchano (sebasjm) */ -export type Type = BankUiSettings; +export type Type = UiSettings; -const initial: BankUiSettings = {}; +const initial: UiSettings = {}; const Context = createContext<Type>(initial); export const useSettingsContext = (): Type => useContext(Context); @@ -34,7 +34,7 @@ export const SettingsProvider = ({ children, value, }: { - value: BankUiSettings; + value: UiSettings; children: ComponentChildren; }): VNode => { return h(Context.Provider, { |