Skip to content
This repository was archived by the owner on Feb 25, 2020. It is now read-only.

Commit f095bca

Browse files
authored
Merge pull request #44 from serhiipalash/master
Set default value “null” for “key” property in RESET action
2 parents e55a7e9 + 5923816 commit f095bca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/routers/StackActions.js

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const push = payload => ({
2222

2323
const reset = payload => ({
2424
type: RESET,
25+
key: null,
2526
...payload,
2627
});
2728

0 commit comments

Comments
 (0)