diff options
author | Sebastian <sebasjm@gmail.com> | 2022-12-20 17:45:24 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-12-20 17:45:24 -0300 |
commit | c59f9a2556731ad95ab8bd7eefe7fa8a41629834 (patch) | |
tree | 5cb60195d66cebbee0ba99e05eafe22f369a46a8 /packages/merchant-backoffice-ui/src/context/fetch.ts | |
parent | 382e66b179d6fda2598936196b2ae1b97bfab8ef (diff) |
use translation context from web-utils, don't use match react-router since is broken
Diffstat (limited to 'packages/merchant-backoffice-ui/src/context/fetch.ts')
-rw-r--r-- | packages/merchant-backoffice-ui/src/context/fetch.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/merchant-backoffice-ui/src/context/fetch.ts b/packages/merchant-backoffice-ui/src/context/fetch.ts index 3106a6abe..88c9bc30c 100644 --- a/packages/merchant-backoffice-ui/src/context/fetch.ts +++ b/packages/merchant-backoffice-ui/src/context/fetch.ts @@ -29,7 +29,7 @@ interface Type { useSWRInfinite: typeof useSWRInfinite; } -const Context = createContext<Type>({} as any); +const Context = createContext<Type>({} as Type); export const useFetchContext = (): Type => useContext(Context); export const FetchContextProvider = ({ |