umami/components/pages/settings/profile/ProfileSettings.js

24 lines
661 B
JavaScript
Raw Normal View History

2023-01-21 02:12:53 +01:00
import { Breadcrumbs, Item } from 'react-basics';
2023-01-25 16:42:46 +01:00
import { useIntl } from 'react-intl';
import Page from 'components/layout/Page';
import PageHeader from 'components/layout/PageHeader';
2023-01-21 02:12:53 +01:00
import ProfileDetails from './ProfileDetails';
2023-01-24 00:32:35 +01:00
import PasswordChangeButton from './PasswordChangeButton';
2023-01-25 16:42:46 +01:00
import { labels } from 'components/messages';
2023-01-21 02:12:53 +01:00
export default function ProfileSettings() {
const { formatMessage } = useIntl();
return (
<Page>
<PageHeader>
<Breadcrumbs>
2023-01-25 16:42:46 +01:00
<Item>{formatMessage(labels.profile)}</Item>
</Breadcrumbs>
2023-01-24 00:32:35 +01:00
<PasswordChangeButton />
</PageHeader>
<ProfileDetails />
</Page>
);
}