From eb9937bf7d1d7ddc81f063eef270fe8a43b59de8 Mon Sep 17 00:00:00 2001 From: SleepWalker Date: Sun, 1 May 2016 09:40:35 +0300 Subject: [PATCH] Fix #46: early cleanup error state --- src/components/auth/PanelTransition.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/auth/PanelTransition.jsx b/src/components/auth/PanelTransition.jsx index 54603d7..7976099 100644 --- a/src/components/auth/PanelTransition.jsx +++ b/src/components/auth/PanelTransition.jsx @@ -180,6 +180,7 @@ class PanelTransition extends Component { } onFormSubmit = () => { + this.props.clearErrors(); this.body.onFormSubmit(); };