import React from 'react'; import { Icon } from 'UI'; import { withRouter } from 'react-router-dom'; import { useTranslation } from 'react-i18next'; interface Props { history: any; } function PreferencesView(props: Props) { const { t } = useTranslation(); const onExit = () => { props.history.push('/'); }; return ( <>
{t('Exit Preferences')}
{t('Any changes will be put into effect across your organization.')}
); } export default withRouter(PreferencesView);