From cf282aa351cbc58691fb1b2fb4764830247cdbe8 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Mon, 25 Jul 2022 08:16:50 +0530 Subject: eslint needs to be executed at the top-level to actually work --- src/components/auth/Password.js | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 'src/components/auth/Password.js') diff --git a/src/components/auth/Password.js b/src/components/auth/Password.js index 0daa4c77a..5086b0bbd 100644 --- a/src/components/auth/Password.js +++ b/src/components/auth/Password.js @@ -50,17 +50,19 @@ class Password extends Component { form = (() => { const { intl } = this.props; - return new Form({ - fields: { - email: { - label: intl.formatMessage(messages.emailLabel), - value: '', - validators: [required, email], + return new Form( + { + fields: { + email: { + label: intl.formatMessage(messages.emailLabel), + value: '', + validators: [required, email], + }, }, }, - }, - intl, - )})(); + intl, + ); + })(); submit(e) { e.preventDefault(); @@ -80,7 +82,9 @@ class Password extends Component { return (
this.submit(e)}> - + + +

{intl.formatMessage(messages.headline)}

{status.length > 0 && status.includes('sent') && ( -- cgit v1.2.3-54-g00ecf