diff options
Diffstat (limited to 'src/components/auth/SetupAssistant.js')
-rw-r--r-- | src/components/auth/SetupAssistant.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/components/auth/SetupAssistant.js b/src/components/auth/SetupAssistant.js index e03cf9101..bd9069eb7 100644 --- a/src/components/auth/SetupAssistant.js +++ b/src/components/auth/SetupAssistant.js | |||
@@ -34,7 +34,7 @@ const messages = defineMessages({ | |||
34 | }, | 34 | }, |
35 | }); | 35 | }); |
36 | 36 | ||
37 | const styles = theme => ({ | 37 | const styles = (theme) => ({ |
38 | root: { | 38 | root: { |
39 | width: '500px !important', | 39 | width: '500px !important', |
40 | textAlign: 'center', | 40 | textAlign: 'center', |
@@ -161,7 +161,7 @@ class SetupAssistant extends Component { | |||
161 | const sanitizedWorkspace = slackWorkspace.trim().replace(/^https?:\/\//, ''); | 161 | const sanitizedWorkspace = slackWorkspace.trim().replace(/^https?:\/\//, ''); |
162 | 162 | ||
163 | if (sanitizedWorkspace) { | 163 | if (sanitizedWorkspace) { |
164 | const index = services.findIndex(s => s.id === SLACK_ID); | 164 | const index = services.findIndex((s) => s.id === SLACK_ID); |
165 | 165 | ||
166 | if (index === -1) { | 166 | if (index === -1) { |
167 | const newServices = services; | 167 | const newServices = services; |
@@ -215,11 +215,11 @@ class SetupAssistant extends Component { | |||
215 | <button | 215 | <button |
216 | className={classnames({ | 216 | className={classnames({ |
217 | [classes.serviceContainer]: true, | 217 | [classes.serviceContainer]: true, |
218 | [classes.selected]: this.state.services.findIndex(s => s.id === id) !== -1, | 218 | [classes.selected]: this.state.services.findIndex((s) => s.id === id) !== -1, |
219 | })} | 219 | })} |
220 | key={id} | 220 | key={id} |
221 | onClick={() => { | 221 | onClick={() => { |
222 | const index = this.state.services.findIndex(s => s.id === id); | 222 | const index = this.state.services.findIndex((s) => s.id === id); |
223 | if (index === -1) { | 223 | if (index === -1) { |
224 | if (id === SLACK_ID) { | 224 | if (id === SLACK_ID) { |
225 | this.setState({ isSlackModalOpen: true }); | 225 | this.setState({ isSlackModalOpen: true }); |
@@ -283,7 +283,7 @@ class SetupAssistant extends Component { | |||
283 | <Input | 283 | <Input |
284 | suffix=".slack.com" | 284 | suffix=".slack.com" |
285 | placeholder="workspace-url" | 285 | placeholder="workspace-url" |
286 | onChange={e => this.setState({ slackWorkspace: e.target.value })} | 286 | onChange={(e) => this.setState({ slackWorkspace: e.target.value })} |
287 | value={slackWorkspace} | 287 | value={slackWorkspace} |
288 | /> | 288 | /> |
289 | <div className={classes.modalActionContainer}> | 289 | <div className={classes.modalActionContainer}> |