2023-02-17 09:21:02 +00:00
|
|
|
import { PageLayout } from '../../components/_shared/PageLayout'
|
2023-11-14 15:10:00 +00:00
|
|
|
import { AuthGuard } from '../../components/AuthGuard'
|
2023-11-23 18:15:06 +00:00
|
|
|
import { ProfileSettings } from '../../components/ProfileSettings'
|
2023-11-14 15:10:00 +00:00
|
|
|
import { useLocalize } from '../../context/localize'
|
2023-11-23 18:15:06 +00:00
|
|
|
import { ProfileFormProvider } from '../../context/profile'
|
2023-11-18 14:10:02 +00:00
|
|
|
|
2023-02-09 17:53:11 +00:00
|
|
|
export const ProfileSettingsPage = () => {
|
2023-02-17 09:21:02 +00:00
|
|
|
const { t } = useLocalize()
|
2023-11-09 14:29:48 +00:00
|
|
|
|
2022-11-24 21:37:43 +00:00
|
|
|
return (
|
2023-11-14 10:45:44 +00:00
|
|
|
<PageLayout title={t('Profile')}>
|
2023-09-21 11:38:22 +00:00
|
|
|
<AuthGuard>
|
2023-11-23 18:15:06 +00:00
|
|
|
<ProfileFormProvider>
|
|
|
|
<ProfileSettings />
|
|
|
|
</ProfileFormProvider>
|
2023-09-21 11:38:22 +00:00
|
|
|
</AuthGuard>
|
2023-02-17 09:21:02 +00:00
|
|
|
</PageLayout>
|
2022-11-24 21:37:43 +00:00
|
|
|
)
|
|
|
|
}
|
|
|
|
|
2023-02-17 09:21:02 +00:00
|
|
|
export const Page = ProfileSettingsPage
|