Update components on language change

This commit is contained in:
Ildar Kamalov
2019-01-22 17:54:18 +03:00
committed by Eugene Bujak
parent 7e95ce9136
commit b5e7237169
5 changed files with 26 additions and 18 deletions

View File

@@ -1,5 +1,5 @@
import React from 'react';
import { Trans } from 'react-i18next';
import { Trans, withNamespaces } from 'react-i18next';
import Tabs from '../../components/ui/Tabs';
import Icons from '../../components/ui/Icons';
@@ -90,4 +90,4 @@ const Devices = () => (
</div>
);
export default Devices;
export default withNamespaces()(Devices);