App component has been removed.
This commit is contained in:
parent
fef1fd1dd6
commit
49fbd566d5
|
@ -3,21 +3,20 @@ import * as ReactDOM from 'react-dom';
|
|||
import { fork } from 'redux-saga/effects';
|
||||
|
||||
import { Provider } from 'react-redux';
|
||||
import { Switch } from 'react-router';
|
||||
import { ConnectedRouter } from 'react-router-redux';
|
||||
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
|
||||
import * as injectTapEventPlugin from 'react-tap-event-plugin';
|
||||
|
||||
|
||||
import Platform from '@overflow/commons/platform';
|
||||
import { store, sagaMiddleware, history } from './redux/store';
|
||||
|
||||
import sagas from './redux/saga';
|
||||
import muiTheme from './theme/mui';
|
||||
|
||||
import App from './views/App';
|
||||
|
||||
injectTapEventPlugin();
|
||||
|
||||
|
||||
function* app(): any {
|
||||
const appContainer: HTMLElement = yield Platform.getAppContainer('react-placeholder');
|
||||
|
||||
|
@ -43,7 +42,9 @@ function* app(): any {
|
|||
<Provider store={store}>
|
||||
<ConnectedRouter history={history}>
|
||||
<MuiThemeProvider muiTheme={muiTheme}>
|
||||
<App/>
|
||||
<Switch>
|
||||
|
||||
</Switch>
|
||||
</MuiThemeProvider>
|
||||
</ConnectedRouter>
|
||||
</Provider>,
|
||||
|
|
|
@ -1,27 +0,0 @@
|
|||
import * as React from 'react';
|
||||
import * as ReactDOM from 'react-dom';
|
||||
import { Route } from 'react-router-dom';
|
||||
import { RouteComponentProps, Switch } from 'react-router';
|
||||
|
||||
export interface Props {
|
||||
|
||||
}
|
||||
|
||||
export interface State {
|
||||
|
||||
}
|
||||
|
||||
export default class App extends React.Component<Props, State> {
|
||||
public constructor(props: Props, context: State) {
|
||||
super(props, context);
|
||||
}
|
||||
|
||||
public render(): JSX.Element {
|
||||
|
||||
return (
|
||||
<Switch>
|
||||
|
||||
</Switch>
|
||||
);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user