umami/components/pages/settings/profile/ProfileSettings.js
2023-01-25 07:42:46 -08:00

24 lines
661 B
JavaScript

import { Breadcrumbs, Item } from 'react-basics';
import { useIntl } from 'react-intl';
import Page from 'components/layout/Page';
import PageHeader from 'components/layout/PageHeader';
import ProfileDetails from './ProfileDetails';
import PasswordChangeButton from './PasswordChangeButton';
import { labels } from 'components/messages';
export default function ProfileSettings() {
const { formatMessage } = useIntl();
return (
<Page>
<PageHeader>
<Breadcrumbs>
<Item>{formatMessage(labels.profile)}</Item>
</Breadcrumbs>
<PasswordChangeButton />
</PageHeader>
<ProfileDetails />
</Page>
);
}