chore: remove connect from sidebar

This commit is contained in:
George Lima 2018-12-13 17:20:38 -03:00
parent 620123f40d
commit c2f7abb3a0
1 changed files with 1 additions and 13 deletions

View File

@ -1,17 +1,5 @@
// @flow
import { connect } from 'react-redux';
import { SidebarComponent } from '../components/sidebar';
const mapStateToProps = (state: Object) => ({
todos: state.todos,
});
// const mapDispatchToProps = (dispatch: Dispatch) => ({
// addTodo: text => dispatch(addTodo(text)),
// });
export const SidebarContainer = connect(
mapStateToProps,
// mapDispatchToProps,
)(SidebarComponent);
export const SidebarContainer = SidebarComponent;