diff options
author | Stefan Malzner <stefan@adlk.io> | 2018-12-09 20:48:25 +0100 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2018-12-09 20:48:25 +0100 |
commit | 5d6164973e92fa8a3e3c18a0eb2e29494aea4f48 (patch) | |
tree | 382e6c672bbc0f7582b3b627b02111dcce902894 /src/components/auth/Login.js | |
parent | Add React 16 didCatch/ErrorBoundary component (diff) | |
download | ferdium-app-5d6164973e92fa8a3e3c18a0eb2e29494aea4f48.tar.gz ferdium-app-5d6164973e92fa8a3e3c18a0eb2e29494aea4f48.tar.zst ferdium-app-5d6164973e92fa8a3e3c18a0eb2e29494aea4f48.zip |
Fix linting issues
Diffstat (limited to 'src/components/auth/Login.js')
-rw-r--r-- | src/components/auth/Login.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/auth/Login.js b/src/components/auth/Login.js index 2cf614041..5d21f8b60 100644 --- a/src/components/auth/Login.js +++ b/src/components/auth/Login.js | |||
@@ -83,18 +83,18 @@ export default @observer class Login extends Component { | |||
83 | }, | 83 | }, |
84 | }, this.context.intl); | 84 | }, this.context.intl); |
85 | 85 | ||
86 | emailField = null; | ||
87 | |||
86 | submit(e) { | 88 | submit(e) { |
87 | e.preventDefault(); | 89 | e.preventDefault(); |
88 | this.form.submit({ | 90 | this.form.submit({ |
89 | onSuccess: (form) => { | 91 | onSuccess: (form) => { |
90 | this.props.onSubmit(form.values()); | 92 | this.props.onSubmit(form.values()); |
91 | }, | 93 | }, |
92 | onError: () => {}, | 94 | onError: () => { }, |
93 | }); | 95 | }); |
94 | } | 96 | } |
95 | 97 | ||
96 | emailField = null; | ||
97 | |||
98 | render() { | 98 | render() { |
99 | const { form } = this; | 99 | const { form } = this; |
100 | const { intl } = this.context; | 100 | const { intl } = this.context; |