import { List as ImmutableList } from 'immutable'; import React from 'react'; import { Link } from 'react-router-dom'; import { getSettings } from 'soapbox/actions/settings'; import { getSoapboxConfig } from 'soapbox/actions/soapbox'; import { Text } from 'soapbox/components/ui'; import { useAppSelector } from 'soapbox/hooks'; import type { FooterItem } from 'soapbox/types/soapbox'; const Footer = () => { const { copyright, navlinks, locale } = useAppSelector((state) => { const soapboxConfig = getSoapboxConfig(state); return { copyright: soapboxConfig.copyright, navlinks: (soapboxConfig.navlinks.get('homeFooter') || ImmutableList()) as ImmutableList, locale: getSettings(state).get('locale') as string, }; }); return ( ); }; export default Footer;