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