From 6df93308d7a93cccb281f3e979668df23007ab5d Mon Sep 17 00:00:00 2001
From: muhamedsalih-tw <104364298+muhamedsalih-tw@users.noreply.github.com>
Date: Thu, 1 Dec 2022 00:33:39 +0530
Subject: chore: [#42] use noop consistently throughout (#808)

---
 src/components/auth/Login.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/components/auth/Login.tsx')

diff --git a/src/components/auth/Login.tsx b/src/components/auth/Login.tsx
index 185a6ad48..0a95b0565 100644
--- a/src/components/auth/Login.tsx
+++ b/src/components/auth/Login.tsx
@@ -103,7 +103,7 @@ class Login extends Component<IProps> {
       onSuccess: form => {
         this.props.onSubmit(form.values());
       },
-      onError: () => {},
+      onError: noop,
     });
   }
 
-- 
cgit v1.2.3-54-g00ecf

