From 9a9629249e1ec9f2fc5a4147db6d649a3cc17b40 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Fri, 4 Nov 2022 11:48:39 -0300 Subject: fix some test style and SWRConfig type compilation --- packages/merchant-backoffice-ui/tests/hooks/swr/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/merchant-backoffice-ui/tests/hooks/swr/index.tsx') diff --git a/packages/merchant-backoffice-ui/tests/hooks/swr/index.tsx b/packages/merchant-backoffice-ui/tests/hooks/swr/index.tsx index 1cf9220d6..655081711 100644 --- a/packages/merchant-backoffice-ui/tests/hooks/swr/index.tsx +++ b/packages/merchant-backoffice-ui/tests/hooks/swr/index.tsx @@ -28,6 +28,7 @@ interface TestingContextProps { children?: ComponentChildren; } export function TestingContext({ children }: TestingContextProps): VNode { + const SC: any = SWRConfig return ( null, }} > - new Map() }}>{children} + new Map() }}>{children} ); -- cgit v1.2.3