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.
 
 
 

19 lines
572 B

/* eslint flowtype-errors/show-errors: 0 */
import React from 'react'
import { Switch, Route } from 'react-router'
import App from './routes/app'
import Activity from './routes/activity'
import Peers from './routes/peers'
import Channels from './routes/channels'
import Network from './routes/network'
export default () => (
<App>
<Switch>
<Route path='/peers' component={Peers} />
<Route path='/channels' component={Channels} />
<Route path='/network' component={Network} />
<Route path='/' component={Activity} />
</Switch>
</App>
)