From ced8a216d1a924badf507d4b17ea7902bcdac67a Mon Sep 17 00:00:00 2001 From: Pavel Aksonov Date: Wed, 5 Sep 2018 14:27:10 +0200 Subject: [PATCH] reset error prop for all actions --- src/navigationStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/navigationStore.js b/src/navigationStore.js index e99ccad99..d0ad72a8b 100644 --- a/src/navigationStore.js +++ b/src/navigationStore.js @@ -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]) {