fix: fix App configError method (#1864)
This commit is contained in:
parent
b1a7e006f6
commit
79205f7db3
@ -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')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user