Another try to fix the build errors.

This commit is contained in:
Ivan Vasilov committed 2023-09-04 18:05:40 +02:00
1 parent 78497508c4
commit 73174ca4ba
1 file changed
+2 -2
+2 -2
View File
@@ -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()