|
|
@ -2,7 +2,7 @@ import React, { Component } from 'react' |
|
|
|
import { Route, Router, Redirect, Switch } from "react-router-dom"; |
|
|
|
|
|
|
|
import StoryRoot from './routes/story/StoryRoot'; |
|
|
|
import LogsIndex from './routes/logs/LogsIndex'; |
|
|
|
import LogsRoot from './routes/logs/LogsRoot'; |
|
|
|
|
|
|
|
export default class App extends Component { |
|
|
|
render() { |
|
|
@ -11,7 +11,7 @@ export default class App extends Component { |
|
|
|
<Switch> |
|
|
|
<Redirect exact path="/" to="/story/" /> |
|
|
|
<Route path="/story/" component={StoryRoot}/> |
|
|
|
<Route path="/logs/" component={LogsIndex}/> |
|
|
|
<Route path="/logs/" component={LogsRoot}/> |
|
|
|
</Switch> |
|
|
|
</div> |
|
|
|
); |
|
|
|