mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 01:45:10 +03:00
Another try to fix the build errors.
This commit is contained in:
1 parent
78497508c4
commit
73174ca4ba
1 file changed
+2
-2
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user