diff options
Diffstat (limited to 'src/components/auth/Locked.tsx')
-rw-r--r-- | src/components/auth/Locked.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
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 | ||