diff options
author | Sebastian <sebasjm@gmail.com> | 2022-12-19 12:23:39 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-12-19 12:23:39 -0300 |
commit | 72b429321553841ac1ff48cf974bfc65da01bb06 (patch) | |
tree | 7db9a4462f02de6cb86de695a1e64772b00ead5f /packages/merchant-backoffice-ui/src/context/config.ts | |
parent | 770ab6f01dc81a16f384f314982bd761540f8e65 (diff) | |
download | wallet-core-72b429321553841ac1ff48cf974bfc65da01bb06.tar.xz |
pretty
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); |