diff options
author | haraldox <hnaumann+github@gmail.com> | 2018-01-30 14:36:42 +0100 |
---|---|---|
committer | haraldox <hnaumann+github@gmail.com> | 2018-01-30 14:36:42 +0100 |
commit | e9a618aaf3c5bd653b5f7e8d88633291c76ac7ef (patch) | |
tree | b5faf0d3b7ad8bfe87b6b704688bbb1fe72a0505 /src/components | |
parent | ADDED embedded invite screen in settings (diff) | |
download | ferdium-app-e9a618aaf3c5bd653b5f7e8d88633291c76ac7ef.tar.gz ferdium-app-e9a618aaf3c5bd653b5f7e8d88633291c76ac7ef.tar.zst ferdium-app-e9a618aaf3c5bd653b5f7e8d88633291c76ac7ef.zip |
[MINOR] fix indentation
makes linter happy
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/auth/Invite.js | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/src/components/auth/Invite.js b/src/components/auth/Invite.js index 14dd6483d..9c32220f8 100644 --- a/src/components/auth/Invite.js +++ b/src/components/auth/Invite.js | |||
@@ -93,36 +93,36 @@ export default class Invite extends Component { | |||
93 | }); | 93 | }); |
94 | 94 | ||
95 | return ( | 95 | return ( |
96 | <form className="franz-form auth__form" onSubmit={e => this.submit(e)}> | 96 | <form className="franz-form auth__form" onSubmit={e => this.submit(e)}> |
97 | {!embed && (<img | 97 | {!embed && (<img |
98 | src="./assets/images/logo.svg" | 98 | src="./assets/images/logo.svg" |
99 | className="auth__logo" | 99 | className="auth__logo" |
100 | alt="" | 100 | alt="" |
101 | />)} | 101 | />)} |
102 | <h1 className={embed && 'invite__embed'}> | 102 | <h1 className={embed && 'invite__embed'}> |
103 | {intl.formatMessage(messages.headline)} | 103 | {intl.formatMessage(messages.headline)} |
104 | </h1> | 104 | </h1> |
105 | {form.$('invite').map(invite => ( | 105 | {form.$('invite').map(invite => ( |
106 | <div className="grid" key={invite.key}> | 106 | <div className="grid" key={invite.key}> |
107 | <div className="grid__row"> | 107 | <div className="grid__row"> |
108 | <Input field={invite.$('name')} showLabel={false} /> | 108 | <Input field={invite.$('name')} showLabel={false} /> |
109 | <Input field={invite.$('email')} showLabel={false} /> | 109 | <Input field={invite.$('email')} showLabel={false} /> |
110 | </div> | ||
111 | </div> | 110 | </div> |
112 | ))} | 111 | </div> |
113 | <Button | 112 | ))} |
114 | type="submit" | 113 | <Button |
115 | className={sendButtonClassName} | 114 | type="submit" |
116 | disabled={!atLeastOneEmailAddress} | 115 | className={sendButtonClassName} |
117 | label={intl.formatMessage(messages.submitButtonLabel)} | 116 | disabled={!atLeastOneEmailAddress} |
118 | /> | 117 | label={intl.formatMessage(messages.submitButtonLabel)} |
119 | {!embed && (<Link | 118 | /> |
120 | to={from || '/'} | 119 | {!embed && (<Link |
121 | className="franz-form__button franz-form__button--secondary auth__button auth__button--skip" | 120 | to={from || '/'} |
122 | > | 121 | className="franz-form__button franz-form__button--secondary auth__button auth__button--skip" |
123 | {intl.formatMessage(messages.skipButtonLabel)} | 122 | > |
124 | </Link>)} | 123 | {intl.formatMessage(messages.skipButtonLabel)} |
125 | </form> | 124 | </Link>)} |
125 | </form> | ||
126 | ); | 126 | ); |
127 | } | 127 | } |
128 | } | 128 | } |