WebSocket has been implemented.
This commit is contained in:
@@ -4,7 +4,6 @@ import { fork } from 'redux-saga/effects';
|
||||
|
||||
import { Provider } from 'react-redux';
|
||||
import { ConnectedRouter } from 'react-router-redux';
|
||||
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
|
||||
import * as injectTapEventPlugin from 'react-tap-event-plugin';
|
||||
|
||||
|
||||
@@ -20,8 +19,6 @@ injectTapEventPlugin();
|
||||
function* app(): any {
|
||||
const appContainer: HTMLElement = yield Platform.getAppContainer('react-placeholder');
|
||||
|
||||
|
||||
|
||||
ReactDOM.render(
|
||||
<div style={{
|
||||
width: '100vw',
|
||||
@@ -40,14 +37,13 @@ function* app(): any {
|
||||
|
||||
ReactDOM.render(
|
||||
<Provider store={store}>
|
||||
<MuiThemeProvider muiTheme={muiTheme}>
|
||||
<ConnectedRouter history={history}>
|
||||
{routes}
|
||||
</ConnectedRouter>
|
||||
</MuiThemeProvider>
|
||||
<ConnectedRouter history={history}>
|
||||
{routes}
|
||||
</ConnectedRouter>
|
||||
</Provider>,
|
||||
appContainer,
|
||||
);
|
||||
}
|
||||
|
||||
sagaMiddleware.run(app);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user