/* eslint-disable */ import React, { Component } from 'react' import { connect } from 'react-redux' import { countIncrease, countDecrease } from '../lib/count/actions' class PageCount extends Component { increase = () => { this.props.dispatch(countIncrease()) } decrease = () => { this.props.dispatch(countDecrease()) } render () { const { count } = this.props return (

PageCount: {count}

) } } const mapStateToProps = ({ count }) => ({ count }) export default connect(mapStateToProps)(PageCount)