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/settings/user/EditUserForm.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/components/settings/user/EditUserForm.tsx')

diff --git a/src/components/settings/user/EditUserForm.tsx b/src/components/settings/user/EditUserForm.tsx
index 3b604a79f..5a2a5a83e 100644
--- a/src/components/settings/user/EditUserForm.tsx
+++ b/src/components/settings/user/EditUserForm.tsx
@@ -53,7 +53,7 @@ class EditUserForm extends Component<IProps> {
         const values = form.values();
         this.props.onSubmit(values);
       },
-      onError: () => {},
+      onError: noop,
     });
   }
 
-- 
cgit v1.2.3-70-g09d2

