webapp/src/pages/profile/profileSettings.page.tsx

22 lines
617 B
TypeScript
Raw Normal View History

2023-02-17 09:21:02 +00:00
import { PageLayout } from '../../components/_shared/PageLayout'
import { AuthGuard } from '../../components/AuthGuard'
import { ProfileSettings } from '../../components/ProfileSettings'
import { useLocalize } from '../../context/localize'
import { ProfileFormProvider } from '../../context/profile'
2023-02-09 17:53:11 +00:00
export const ProfileSettingsPage = () => {
2023-02-17 09:21:02 +00:00
const { t } = useLocalize()
2022-11-24 21:37:43 +00:00
return (
<PageLayout title={t('Profile')}>
<AuthGuard>
<ProfileFormProvider>
<ProfileSettings />
</ProfileFormProvider>
</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