Browse Source

Test mini project: redux without hooks

serg1557733 1 year ago
parent
commit
93b3dff068
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/components/Counter.js

+ 3 - 1
src/components/Counter.js

@@ -1,6 +1,6 @@
  import { connect } from "react-redux";
  import * as action from '../actions'; 
- 
+
  const Counter = ({ counter, inc, dec, rnd}) => {
     return (
             <>
@@ -12,6 +12,8 @@
         )
     }
 
+
+    
 const mapStateToProps = (state) => {
     return (
         {