Add switch language button on footer

This commit is contained in:
Hoàng Rio
2018-10-29 10:26:19 +07:00
parent 234e29697f
commit 4b821f0bd7
8 changed files with 28 additions and 16 deletions

View File

@@ -1,6 +1,6 @@
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { Trans } from 'react-i18next';
import { Trans, withNamespaces } from 'react-i18next';
import { getSourceData } from '../../helpers/trackers/trackers';
import { captitalizeWords } from '../../helpers/helpers';
@@ -52,4 +52,4 @@ Popover.propTypes = {
data: PropTypes.object.isRequired,
};
export default Popover;
export default withNamespaces()(Popover);