import { ReactNode } from 'react' ; import { c } from 'ttag' ; interface Props { link ? : ReactNode ; } const FooterDetails = ( { link } ) => { const currentYear = new Date ( ) . getFullYear ( ) ; return ( < > { currentYear } { link } - { c ( 'Footer' ) . t `Based in Switzerland, available globally.` } < />); } ; export default FooterDetails ;