allow manual initialization and config as an arg

This commit is contained in:
Shawn Erquhart
2018-02-28 15:45:16 -05:00
parent 95b6d8a884
commit a83c04cad0
15 changed files with 722 additions and 424 deletions

View File

@ -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;
}