diff options
author | Sebastian <sebasjm@gmail.com> | 2022-12-07 18:45:49 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-12-07 18:45:49 -0300 |
commit | 4fbc22b94a4a72f37faa3beff68f85ce4fdcd2ea (patch) | |
tree | 735edc8b2cefe0e5869eb391cfc8f25c572a692d /packages/demobank-ui/src/context/backend.ts | |
parent | c2a982e575b532c52514e7343bdd3aaaac655b5f (diff) | |
download | wallet-core-4fbc22b94a4a72f37faa3beff68f85ce4fdcd2ea.tar.xz |
pretty
Diffstat (limited to 'packages/demobank-ui/src/context/backend.ts')
-rw-r--r-- | packages/demobank-ui/src/context/backend.ts | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/packages/demobank-ui/src/context/backend.ts b/packages/demobank-ui/src/context/backend.ts index b9b7f8527..1c40506c9 100644 --- a/packages/demobank-ui/src/context/backend.ts +++ b/packages/demobank-ui/src/context/backend.ts @@ -16,7 +16,11 @@ import { ComponentChildren, createContext, h, VNode } from "preact"; import { useContext } from "preact/hooks"; -import { BackendStateHandler, defaultState, useBackendState } from "../hooks/backend.js"; +import { + BackendStateHandler, + defaultState, + useBackendState, +} from "../hooks/backend.js"; /** * @@ -28,10 +32,10 @@ export type Type = BackendStateHandler; const initial: Type = { state: defaultState, clear() { - null + null; }, save(info) { - null + null; }, }; const Context = createContext<Type>(initial); @@ -49,4 +53,4 @@ export const BackendStateProvider = ({ value, children, }); -};
\ No newline at end of file +}; |