fix: fix App configError method (#1864)

This commit is contained in:
Loïc Mahieu 2018-11-12 17:34:02 +01:00 committed by Shawn Erquhart
parent b1a7e006f6
commit 79205f7db3

View File

@ -67,7 +67,7 @@ class App extends React.Component {
t: PropTypes.func.isRequired,
};
static configError(config) {
configError(config) {
const t = this.props.t;
return (
<ErrorContainer>
@ -145,7 +145,7 @@ class App extends React.Component {
}
if (config.get('error')) {
return App.configError(config);
return this.configError(config);
}
if (config.get('isFetching')) {