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]) {