Revert "Revert "move iconloader""

This reverts commit 6011b629e0.
This commit is contained in:
casperlamboo 2017-11-15 15:37:11 +01:00
parent 6011b629e0
commit a98fa80601
2 changed files with 3 additions and 5 deletions

View File

@ -27,14 +27,10 @@ import React from 'react';
import { Provider } from 'react-redux';
import { render } from 'react-dom';
import App from './src/components/App.js';
import InlineIconsLoader from './src/components/InlineIconsLoader.js';
import sketcherReducer from './src/reducer/index.js';
render((
<Provider store={store}>
<span style={{ height: '100%' }}>
<InlineIconsLoader />
<App />
</span>
<App />
</Provider>
), document.getElementById('app'));

View File

@ -11,6 +11,7 @@ import Button from './Button.js';
import vlineImageURL from '../../img/vline.png';
import btnUndoImageURL from '../../img/mainmenu/btnUndo.png';
import btnRedoImageURL from '../../img/mainmenu/btnRedo.png';
import InlineIconsLoader from './InlineIconsLoader.js';
const styles = {
container: {
@ -66,6 +67,7 @@ class App extends React.Component {
const { classes, undo, redo } = this.props;
return (
<div className={classes.container}>
<InlineIconsLoader />
<div className={classes.appContainer}>
<D2Panel />
<div className={classes.vLine} />