diff --git a/packages/netlify-cms-core/src/components/App/App.js b/packages/netlify-cms-core/src/components/App/App.js index a514de80..698158d2 100644 --- a/packages/netlify-cms-core/src/components/App/App.js +++ b/packages/netlify-cms-core/src/components/App/App.js @@ -67,7 +67,7 @@ class App extends React.Component { t: PropTypes.func.isRequired, }; - static configError(config) { + configError(config) { const t = this.props.t; return ( @@ -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')) {