git ssb

1+

dinoworm ๐Ÿ› / catstack



Commit a34eabee8f1d06d0d8190fdc09d638f544d00dca

s/todo-list/todos

Michael Williams committed on 11/28/2015, 10:41:09 AM
Parent: 7d30006981236017db174b04d89678ae7c52077e

Files changed

app/containers/todo-list.jsdeleted
app/containers/todos.jsadded
app/routes.jschanged
app/containers/todo-list.jsView
@@ -1,15 +1,0 @@
1-const React = require('react')
2-const { connect } = require('react-redux')
3-
4-class TodoList extends React.Component {
5- render () {
6- return <div>
7- todo list!
8- </div>
9- }
10-}
11-
12-module.exports = connect(
13- TodoList,
14- (state) => { return {} }
15-)
app/containers/todos.jsView
@@ -1,0 +1,15 @@
1+const React = require('react')
2+const { connect } = require('react-redux')
3+
4+class Todos extends React.Component {
5+ render () {
6+ return <div>
7+ todo list!
8+ </div>
9+ }
10+}
11+
12+module.exports = connect(
13+ Todos,
14+ (state) => { return {} }
15+)
app/routes.jsView
@@ -1,14 +1,14 @@
11 const React = require('react')
22 const { Route } = require('react-router')
33
44 const App = require('app/containers/app')
5-const TodoList = require('app/containers/todo-list')
5+const Todos = require('app/containers/todos')
66 const NoMatch = require('app/containers/no-match')
77
88 const routes = (
99 <Route path='/' component={App}>
10- <Route path='todos' component={TodoList} />
10+ <Route path='todos' component={Todos} />
1111 <Route path="*" component={NoMatch} />
1212 </Route>
1313 )
1414

Built with git-ssb-web