index.tsx raw
1 import Settings from '@/components/Settings'
2 import SecondaryPageLayout from '@/layouts/SecondaryPageLayout'
3 import { forwardRef } from 'react'
4 import { useTranslation } from 'react-i18next'
5
6 const SettingsPage = forwardRef(({ index }: { index?: number }, ref) => {
7 const { t } = useTranslation()
8
9 return (
10 <SecondaryPageLayout ref={ref} index={index} title={t('Settings')}>
11 <Settings />
12 </SecondaryPageLayout>
13 )
14 })
15 SettingsPage.displayName = 'SettingsPage'
16 export default SettingsPage
17