umami/components/pages/settings/profile/ProfileSettings.js
2023-01-23 15:32:35 -08:00

27 lines
735 B
JavaScript

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