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

Commit

Permalink
Set default value “null” for “key” property in RESET action
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiipalash committed Mar 8, 2019
1 parent e55a7e9 commit 5923816
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/routers/StackActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const push = payload => ({

const reset = payload => ({
type: RESET,
key: null,
...payload,
});

Expand Down

0 comments on commit 5923816

Please sign in to comment.