Skip to content

Commit 0609f4b

Browse files
added action files for products page
1 parent 26046bd commit 0609f4b

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

sample-app/src/actions/productActions.js

Whitespace-only changes.

sample-app/src/actions/userActions.js

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
export const UPDATE_USER = 'users:updateUser'
3+
4+
5+
export function updateUser (newUser) {
6+
return {
7+
type: UPDATE_USER,
8+
payload: {
9+
user: newUser
10+
}
11+
}
12+
}
13+

0 commit comments

Comments
 (0)