index.tsx raw
1 import NotFound from '@/components/NotFound'
2 import SecondaryPageLayout from '@/layouts/SecondaryPageLayout'
3 import { forwardRef } from 'react'
4
5 const NotFoundPage = forwardRef(({ index }: { index?: number }, ref) => {
6 return (
7 <SecondaryPageLayout ref={ref} index={index} hideBackButton>
8 <NotFound />
9 </SecondaryPageLayout>
10 )
11 })
12 NotFoundPage.displayName = 'NotFoundPage'
13 export default NotFoundPage
14