add frame for topic view

This commit is contained in:
Connor Turland 2017-03-13 09:34:34 -04:00
parent 9a8370d573
commit dc33d5f687
2 changed files with 11 additions and 0 deletions

View file

@ -0,0 +1,9 @@
import React, { PropTypes, Component } from 'react'
class TopicView extends Component {
render() {
return null
}
}
export default TopicView

View file

@ -3,6 +3,7 @@ import { Route, IndexRoute } from 'react-router'
import App from './App' import App from './App'
import Maps from './Maps' import Maps from './Maps'
import MapView from './MapView' import MapView from './MapView'
import TopicView from './TopicView'
function nullComponent(props) { function nullComponent(props) {
return null return null
@ -25,6 +26,7 @@ export default function makeRoutes (currentUser) {
<Route path="conversation" component={MapView} /> <Route path="conversation" component={MapView} />
<Route path="request_access" component={nullComponent} /> <Route path="request_access" component={nullComponent} />
</Route> </Route>
<Route path="topics/:id" component={TopicView} />
<Route path="login" component={nullComponent} /> <Route path="login" component={nullComponent} />
<Route path="join" component={nullComponent} /> <Route path="join" component={nullComponent} />
<Route path="request" component={nullComponent} /> <Route path="request" component={nullComponent} />