diff options
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 +}; |