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()