import { useEffect } from 'react' import { Alert } from 'react-bootstrap' import { useTranslation } from 'react-i18next' import getMeta from '../../../utils/meta' import EmailsSection from './emails-section' import AccountInfoSection from './account-info-section' import PasswordSection from './password-section' import LinkingSection from './linking-section' import MiscSection from './misc-section' import LeaveSection from './leave-section' import * as eventTracking from '../../../infrastructure/event-tracking' import { UserProvider } from '../../../shared/context/user-context' import { SSOProvider } from '../context/sso-context' function SettingsPageRoot() { const { t } = useTranslation() const ssoError = getMeta('ol-ssoError') as string useEffect(() => { eventTracking.sendMB('settings-view') }, []) return (
{ssoError ? ( {t('sso_link_error')}: {t(ssoError)} ) : null}

{t('account_settings')}



) } export default SettingsPageRoot