Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Another try to fix the build errors.

Ivan Vasilov73174ca4ba64
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<T extends JSX.IntrinsicAttributes>(
+export function withAuth<T>(
WrappedComponent: ComponentType<T> | NextPageWithLayout<T, T>,
options: {
/**
@@ -34,7 +34,7 @@ export function withAuth<T extends JSX.IntrinsicAttributes>(
useHighestAAL: boolean
} = { useHighestAAL: true }
) {
- const WithAuthHOC: ComponentType<T> = (props: T) => {
+ const WithAuthHOC: ComponentType<T> = (props) => {
const router = useRouter()
const { basePath } = router
const { ref } = useParams()