Explorar el Código

Test mini project: redux without hooks

serg1557733 hace 1 año
padre
commit
93b3dff068
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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 (
         {