new.tsx17 lines · main
1import { SupportFormPage } from '@/components/interfaces/Support/SupportFormPage'
2import { AppLayout } from '@/components/layouts/AppLayout/AppLayout'
3import { DefaultLayout } from '@/components/layouts/DefaultLayout'
4import { withAuth } from '@/hooks/misc/withAuth'
5import type { NextPageWithLayout } from '@/types'
6
7const SupportPage: NextPageWithLayout = () => {
8 return <SupportFormPage />
9}
10
11SupportPage.getLayout = (page) => (
12 <AppLayout>
13 <DefaultLayout hideMobileMenu>{page}</DefaultLayout>
14 </AppLayout>
15)
16
17export default withAuth(SupportPage, { useHighestAAL: false })