text: import { addOne } from '../components/actions'
  import store from '../reducers/store'
  import React, { Component } from 'react'
  
  class PlusButton extends Component {
    constructor(props) {
      super(props);
    }
  
    render() {
      return (
        <button className="p-2 m-3"
        onClick={e => {
          e.preventDefault()
  
          store.dispatch(addOne())
        }}
        >+</button>
      );
    }
  };
  
  export default PlusButton
  