mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-22 17:46:56 +03:00
6782f4ae41
* Move extension * prettier
22 lines
536 B
JavaScript
22 lines
536 B
JavaScript
import React, { Component, PropTypes } from 'react';
|
|
import { Provider } from 'react-redux';
|
|
import { Route, Redirect } from 'react-router';
|
|
import { ReduxRouter } from 'redux-router';
|
|
import Wrapper from './Wrapper';
|
|
import App from './App';
|
|
|
|
class Root extends Component {
|
|
render() {
|
|
return (
|
|
<ReduxRouter>
|
|
<Redirect from="/" to="Standard Todo" />
|
|
<Route path="/" component={Wrapper}>
|
|
<Route path="/:id" component={App} />
|
|
</Route>
|
|
</ReduxRouter>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default Root;
|