diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2023-09-12 13:52:55 +0200 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2023-09-12 13:52:55 +0200 |
commit | 121a6da78504204ddf34bf05b5136e09fab0261e (patch) | |
tree | cd220a6e7168e9888b0f83219242f23744fa2cc2 /packages/merchant-backoffice-ui/src/context/instance.ts | |
parent | 5495551071a3fdc36c38deb4c1cf6f4aa5b98bd4 (diff) | |
parent | ee8993f11cf81721cc30b4473e40124c2fee0dff (diff) |
Merge branch 'master' into age-withdraw
Diffstat (limited to 'packages/merchant-backoffice-ui/src/context/instance.ts')
-rw-r--r-- | packages/merchant-backoffice-ui/src/context/instance.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/merchant-backoffice-ui/src/context/instance.ts b/packages/merchant-backoffice-ui/src/context/instance.ts index 9a25fe80c..3c6cc2b63 100644 --- a/packages/merchant-backoffice-ui/src/context/instance.ts +++ b/packages/merchant-backoffice-ui/src/context/instance.ts @@ -21,12 +21,13 @@ import { createContext } from "preact"; import { useContext } from "preact/hooks"; +import { LoginToken } from "../declaration.js"; interface Type { id: string; - token?: string; + token?: LoginToken; admin?: boolean; - changeToken: (t?: string) => void; + changeToken: (t?: LoginToken) => void; } const Context = createContext<Type>({} as any); |