diff options
Diffstat (limited to 'packages/merchant-backoffice-ui/src/context/config.ts')
-rw-r--r-- | packages/merchant-backoffice-ui/src/context/config.ts | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/packages/merchant-backoffice-ui/src/context/config.ts b/packages/merchant-backoffice-ui/src/context/config.ts index a0d530830..040bd0341 100644 --- a/packages/merchant-backoffice-ui/src/context/config.ts +++ b/packages/merchant-backoffice-ui/src/context/config.ts @@ -15,18 +15,18 @@ */ /** -* -* @author Sebastian Javier Marchano (sebasjm) -*/ + * + * @author Sebastian Javier Marchano (sebasjm) + */ -import { createContext } from 'preact' -import { useContext } from 'preact/hooks' +import { createContext } from "preact"; +import { useContext } from "preact/hooks"; interface Type { currency: string; version: string; } -const Context = createContext<Type>(null!) +const Context = createContext<Type>(null!); -export const ConfigContextProvider = Context.Provider +export const ConfigContextProvider = Context.Provider; export const useConfigContext = (): Type => useContext(Context); |