mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 17:55:08 +01:00
22 lines
643 B
JavaScript
22 lines
643 B
JavaScript
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';
|
|
import useConfig from 'hooks/useConfig';
|
|
|
|
export default function ProfileSettings() {
|
|
const { formatMessage } = useIntl();
|
|
const { cloudMode } = useConfig();
|
|
|
|
return (
|
|
<Page>
|
|
<PageHeader title={formatMessage(labels.profile)}>
|
|
{!cloudMode && <PasswordChangeButton />}
|
|
</PageHeader>
|
|
<ProfileDetails />
|
|
</Page>
|
|
);
|
|
}
|