aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/auth
diff options
context:
space:
mode:
authorLibravatar muhamedsalih-tw <104364298+muhamedsalih-tw@users.noreply.github.com>2022-12-01 00:33:39 +0530
committerLibravatar GitHub <noreply@github.com>2022-11-30 19:03:39 +0000
commit6df93308d7a93cccb281f3e979668df23007ab5d (patch)
tree7cce68384707b3bec22c1b5f7b37b9be63bb1ce8 /src/components/auth
parentfix: [#809] unable to save custom icon for any service (#811) (diff)
downloadferdium-app-6df93308d7a93cccb281f3e979668df23007ab5d.tar.gz
ferdium-app-6df93308d7a93cccb281f3e979668df23007ab5d.tar.zst
ferdium-app-6df93308d7a93cccb281f3e979668df23007ab5d.zip
chore: [#42] use noop consistently throughout (#808)
Diffstat (limited to 'src/components/auth')
-rw-r--r--src/components/auth/Invite.tsx2
-rw-r--r--src/components/auth/Locked.tsx2
-rw-r--r--src/components/auth/Login.tsx2
-rw-r--r--src/components/auth/Password.tsx2
-rw-r--r--src/components/auth/Signup.tsx2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/components/auth/Invite.tsx b/src/components/auth/Invite.tsx
index 7723ea1ac..4ab5157a8 100644
--- a/src/components/auth/Invite.tsx
+++ b/src/components/auth/Invite.tsx
@@ -117,7 +117,7 @@ class Invite extends Component<IProps, IState> {
117 117
118 this.setState({ showSuccessInfo: true }); 118 this.setState({ showSuccessInfo: true });
119 }, 119 },
120 onError: () => {}, 120 onError: noop,
121 }); 121 });
122 } 122 }
123 123
diff --git a/src/components/auth/Locked.tsx b/src/components/auth/Locked.tsx
index 8b4e26878..00ff5a4c5 100644
--- a/src/components/auth/Locked.tsx
+++ b/src/components/auth/Locked.tsx
@@ -72,7 +72,7 @@ class Locked extends Component<IProps> {
72 onSuccess: form => { 72 onSuccess: form => {
73 this.props.onSubmit(form.values()); 73 this.props.onSubmit(form.values());
74 }, 74 },
75 onError: () => {}, 75 onError: noop,
76 }); 76 });
77 } 77 }
78 78
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> {
103 onSuccess: form => { 103 onSuccess: form => {
104 this.props.onSubmit(form.values()); 104 this.props.onSubmit(form.values());
105 }, 105 },
106 onError: () => {}, 106 onError: noop,
107 }); 107 });
108 } 108 }
109 109
diff --git a/src/components/auth/Password.tsx b/src/components/auth/Password.tsx
index 53fdbf842..03adc3859 100644
--- a/src/components/auth/Password.tsx
+++ b/src/components/auth/Password.tsx
@@ -71,7 +71,7 @@ class Password extends Component<IProps> {
71 onSuccess: form => { 71 onSuccess: form => {
72 this.props.onSubmit(form.values()); 72 this.props.onSubmit(form.values());
73 }, 73 },
74 onError: () => {}, 74 onError: noop,
75 }); 75 });
76 } 76 }
77 77
diff --git a/src/components/auth/Signup.tsx b/src/components/auth/Signup.tsx
index af14430aa..fb2a2360e 100644
--- a/src/components/auth/Signup.tsx
+++ b/src/components/auth/Signup.tsx
@@ -114,7 +114,7 @@ class Signup extends Component<IProps> {
114 onSuccess: form => { 114 onSuccess: form => {
115 this.props.onSubmit(form.values()); 115 this.props.onSubmit(form.values());
116 }, 116 },
117 onError: () => {}, 117 onError: noop,
118 }); 118 });
119 } 119 }
120 120