Update components on language change
This commit is contained in:
committed by
Eugene Bujak
parent
7e95ce9136
commit
b5e7237169
@@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { Trans } from 'react-i18next';
|
||||
import { Trans, withNamespaces } from 'react-i18next';
|
||||
|
||||
import { INSTALL_TOTAL_STEPS } from '../../helpers/constants';
|
||||
|
||||
@@ -22,4 +22,4 @@ Progress.propTypes = {
|
||||
step: PropTypes.number.isRequired,
|
||||
};
|
||||
|
||||
export default Progress;
|
||||
export default withNamespaces()(Progress);
|
||||
|
||||
Reference in New Issue
Block a user