allow manual initialization and config as an arg
This commit is contained in:
@ -53,6 +53,7 @@ class App extends React.Component {
|
||||
<div>
|
||||
<p>The <code>config.yml</code> file could not be loaded or failed to parse properly.</p>
|
||||
<p><strong>Error message:</strong> {config.get('error')}</p>
|
||||
<p>Check your console for details.</p>
|
||||
</div>
|
||||
</div>);
|
||||
}
|
||||
@ -105,7 +106,6 @@ class App extends React.Component {
|
||||
openMediaLibrary,
|
||||
} = this.props;
|
||||
|
||||
|
||||
if (config === null) {
|
||||
return null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user