summaryrefslogtreecommitdiff
path: root/sw-ui/src/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'sw-ui/src/index.tsx')
-rw-r--r--sw-ui/src/index.tsx21
1 files changed, 0 insertions, 21 deletions
diff --git a/sw-ui/src/index.tsx b/sw-ui/src/index.tsx
deleted file mode 100644
index fce90915..00000000
--- a/sw-ui/src/index.tsx
+++ /dev/null
@@ -1,21 +0,0 @@
-import '@blueprintjs/core/lib/css/blueprint.css';
-import React from 'react';
-import ReactDOM from 'react-dom';
-import { Provider } from 'react-redux';
-import { ConnectedRouter } from 'react-router-redux';
-import { Application } from './components/Application';
-import { INITIAL_STATE } from './reducers';
-import { configureStore } from './store';
-
-const { store, history } = configureStore(INITIAL_STATE);
-
-const rootElement = document.getElementById('root');
-if (rootElement) {
- ReactDOM.render(<Provider store={store}>
- <ConnectedRouter history={history}>
- <Application/>
- </ConnectedRouter>
- </Provider>, rootElement);
-} else {
- console.error('Element with ID "root" was not found, cannot bootstrap react app');
-}
bgstack15