Skip to content

Commit

Permalink
reset error prop for all actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Aksonov committed Sep 5, 2018
1 parent 9c67bed commit ced8a21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/navigationStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ class NavigationStore {
`return function ${
key.replace(/\W/g, '_') // eslint-disable-line no-new-func
}(params){ actions.execute(type, '${key}', props, params)}`,
)(this, { ...commonProps, ...props }, type);
)(this, { error: '', ...commonProps, ...props }, type);
}

if ((onEnter || on || (component && component.onEnter)) && !this[key + OnEnter]) {
Expand Down

0 comments on commit ced8a21

Please sign in to comment.