You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
424 B
16 lines
424 B
7 years ago
|
/* eslint flowtype-errors/show-errors: 0 */
|
||
|
import React from 'react';
|
||
|
import { Switch, Route } from 'react-router';
|
||
|
import App from './containers/App';
|
||
|
import HomePage from './containers/HomePage';
|
||
|
import CounterPage from './containers/CounterPage';
|
||
|
|
||
|
export default () => (
|
||
|
<App>
|
||
|
<Switch>
|
||
|
<Route path="/counter" component={CounterPage} />
|
||
|
<Route path="/" component={HomePage} />
|
||
|
</Switch>
|
||
|
</App>
|
||
|
);
|