import React, { ComponentType, MouseEventHandler, useCallback } from 'react'; import { Link } from 'react-router-dom'; import { FormattedMessage as Message } from 'react-intl'; import { useReduxDispatch } from 'app/functions'; import LanguageSwitcher from 'app/components/languageSwitcher'; import SourceCode from 'app/components/sourceCode'; import { create as createPopup } from 'app/components/ui/popup/actions'; import { ContactLink } from 'app/components/contact'; import styles from './footerMenu.scss'; const FooterMenu: ComponentType = () => { const dispatch = useReduxDispatch(); const createPopupHandler = useCallback( (popup: ComponentType): MouseEventHandler => (event) => { event.preventDefault(); dispatch(createPopup({ Popup: popup })); }, [dispatch], ); return (
{'•'}
{'•'}
); }; export default FooterMenu;