From 73174ca4ba64ba5e9659ade2622201db4064ecb5 Mon Sep 17 00:00:00 2001 From: Ivan Vasilov Date: Mon, 4 Sep 2023 18:05:40 +0200 Subject: [PATCH] Another try to fix the build errors. --- studio/hooks/misc/withAuth.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/studio/hooks/misc/withAuth.tsx b/studio/hooks/misc/withAuth.tsx index d2824e9b20a..8fafe0a13a5 100644 --- a/studio/hooks/misc/withAuth.tsx +++ b/studio/hooks/misc/withAuth.tsx @@ -20,7 +20,7 @@ const PLATFORM_ONLY_PAGES = [ 'auth/url-configuration', ] -export function withAuth( +export function withAuth( WrappedComponent: ComponentType | NextPageWithLayout, options: { /** @@ -34,7 +34,7 @@ export function withAuth( useHighestAAL: boolean } = { useHighestAAL: true } ) { - const WithAuthHOC: ComponentType = (props: T) => { + const WithAuthHOC: ComponentType = (props) => { const router = useRouter() const { basePath } = router const { ref } = useParams()