Files: c89794caeffafc465f3dd30e6a332ec2581775ec / app / todos / container.js
377 bytesRaw
1 | import React from 'react' |
2 | import { connect } from 'react-redux' |
3 | |
4 | import actions from './actions' |
5 | |
6 | class TodosContainer extends React.Component { |
7 | static fetchData = (getState, dispatch, location, params) => { |
8 | return dispatch(actions.find()) |
9 | } |
10 | |
11 | render () { |
12 | return <div> |
13 | todo list! |
14 | </div> |
15 | } |
16 | } |
17 | |
18 | export default connect( |
19 | (state) => ({}) |
20 | )(TodosContainer) |
21 |
Built with git-ssb-web