import TimezoneSetting from 'components/settings/TimezoneSetting'; import useUser from 'hooks/useUser'; import { FormattedMessage } from 'react-intl'; import DateRangeSetting from './DateRangeSetting'; import LanguageSetting from './LanguageSetting'; import styles from './ProfileDetails.module.css'; import ThemeSetting from './ThemeSetting'; export default function ProfileDetails() { const user = useUser(); if (!user) { return null; } const { username } = user; return ( <>
{username}
); }