import * as React from 'react'; import { format } from 'date-fns'; import { useDispatch } from 'react-redux'; import { useTranslation } from 'react-i18next'; import { i18n, locales } from '@i18n'; import { AuthActionType } from '@store/enums'; import './index.scss'; // codebeat:disable[LOC] export const Footer: React.FunctionComponent = () => { const { t } = useTranslation(); const dispatch = useDispatch(); const currentLang = i18n.language; const onLanguageChange = (locale: string) => { dispatch({ type: AuthActionType.SET_LOCALE_REQUEST, payload: { locale } }); }; return ( ); }; // codebeat:enable[LOC] export default Footer;