import React, { PropTypes, Component } from 'react';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';

import * as actions from '../../../actions/pgitroverbActions';
import ListPage from './ListPage';

export class Proverbs extends Component {
  constructor(props) {
    super(props);
  }

  render() {
    return (
      <ListPage {...this.props} />
    );
  }
}

Proverbs.propTypes = {
  proverbs: PropTypes.object
};

const mapStateToProps = (state, ownProps) => {
  const { proverbs } = state;
  return { proverbs };
}

const mapDispatchToProps = (dispatch) => {
  return {
    actions: bindActionCreators(actions, dispatch)
  }
}

export default connect(mapStateToProps, mapDispatchToProps)(Proverbs);

@@ -178,11 +178,8 @@
 ns/p
-git
 rove

correct typo in proverb index