mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 17:55:08 +01:00
27 lines
735 B
JavaScript
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>
|
|
);
|
|
}
|