From 03e011eb40c4f986f28b68cf6fdd522ef96c038f Mon Sep 17 00:00:00 2001 From: VH Date: Tue, 23 May 2023 05:44:34 +0700 Subject: [PATCH] Clear account.message when user typing phone/email --- src/pages/signin/LoginForm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/signin/LoginForm.js b/src/pages/signin/LoginForm.js index a544e391d9b9..c4c54e9fadc6 100755 --- a/src/pages/signin/LoginForm.js +++ b/src/pages/signin/LoginForm.js @@ -108,7 +108,7 @@ class LoginForm extends React.Component { formError: null, }); - if (this.props.account.errors) { + if (this.props.account.errors || this.props.account.message) { Session.clearAccountMessages(); }