new.tsx 586 B

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