import React, { Component } from 'react'; import { Trans, withNamespaces } from 'react-i18next'; import { REPOSITORY } from '../../helpers/constants'; import i18n from '../../i18n'; class Footer extends Component { getYear = () => { const today = new Date(); return today.getFullYear(); }; changeLanguage = () => { i18n.changeLanguage(i18n.language === 'en' ? 'vi' : 'en'); } render() { return ( ); } } export default withNamespaces()(Footer);