From 73affa7d5e5d9338a6b8cc87d99f4ded9fa82908 Mon Sep 17 00:00:00 2001 From: Javeriya32 <117889654+Javeriya32@users.noreply.github.com> Date: Sun, 26 May 2024 11:29:17 -0700 Subject: [PATCH] Update index.js --- react-redux-master/src/actions/index.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/react-redux-master/src/actions/index.js b/react-redux-master/src/actions/index.js index 14420cb6c6..81c616946f 100644 --- a/react-redux-master/src/actions/index.js +++ b/react-redux-master/src/actions/index.js @@ -1 +1,10 @@ //actions +//actions +const increment = (val) => { + return { + type : 'INCREMENT', + inc : val + } +} + +export default increment;