Update components on language change
This commit is contained in:
committed by
Eugene Bujak
parent
7e95ce9136
commit
b5e7237169
@@ -1,5 +1,5 @@
|
||||
import React, { Component } from 'react';
|
||||
import { Trans } from 'react-i18next';
|
||||
import { Trans, withNamespaces } from 'react-i18next';
|
||||
import Controls from './Controls';
|
||||
|
||||
class Greeting extends Component {
|
||||
@@ -20,4 +20,4 @@ class Greeting extends Component {
|
||||
}
|
||||
}
|
||||
|
||||
export default Greeting;
|
||||
export default withNamespaces()(Greeting);
|
||||
|
||||
Reference in New Issue
Block a user