aboutsummaryrefslogtreecommitdiff
path: root/packages/merchant-backoffice-ui/src/hooks/testing.tsx
diff options
context:
space:
mode:
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
commit121a6da78504204ddf34bf05b5136e09fab0261e (patch)
treecd220a6e7168e9888b0f83219242f23744fa2cc2 /packages/merchant-backoffice-ui/src/hooks/testing.tsx
parent5495551071a3fdc36c38deb4c1cf6f4aa5b98bd4 (diff)
parentee8993f11cf81721cc30b4473e40124c2fee0dff (diff)
Merge branch 'master' into age-withdraw
Diffstat (limited to 'packages/merchant-backoffice-ui/src/hooks/testing.tsx')
-rw-r--r--packages/merchant-backoffice-ui/src/hooks/testing.tsx5
1 files changed, 1 insertions, 4 deletions
diff --git a/packages/merchant-backoffice-ui/src/hooks/testing.tsx b/packages/merchant-backoffice-ui/src/hooks/testing.tsx
index ebbc6f64a..847d512b0 100644
--- a/packages/merchant-backoffice-ui/src/hooks/testing.tsx
+++ b/packages/merchant-backoffice-ui/src/hooks/testing.tsx
@@ -90,10 +90,7 @@ export class ApiMockEnvironment extends MockEnvironment {
const SC: any = SWRConfig;
return (
- <BackendContextProvider
- defaultUrl="http://backend"
- initialToken={undefined}
- >
+ <BackendContextProvider defaultUrl="http://backend">
<InstanceContextProvider
value={{
token: undefined,