···11/* eslint-disable react/no-multi-comp */
22-import React, { Component } from "react";
33-import { Segment, Header, Menu, Icon, Button, Grid } from "semantic-ui-react";
44-import styles from "../styles/common.css";
22+import React, { Component } from 'react';
33+import { Segment, Header, Menu, Icon, Button, Grid } from 'semantic-ui-react';
44+import styles from '../styles/common.css';
5566const HELP_STEP = {
77 MENU: 0,
···113113 switch (this.state.helpStep) {
114114 case HELP_STEP.SIGNAL_EXPLANATION:
115115 return this.renderHelp(
116116- "Improve the signal quality",
117117- "In order to collect quality data, you want to make sure that all electrodes have a strong connection"
116116+ 'Improve the signal quality',
117117+ 'In order to collect quality data, you want to make sure that all electrodes have a strong connection'
118118 );
119119 case HELP_STEP.SIGNAL_SALINE:
120120 return this.renderHelp(
121121- "Tip #1: Saturate the sensors in saline",
122122- "Make sure the sensors are thoroughly soaked with saline solution. They should be wet to the touch"
121121+ 'Tip #1: Saturate the sensors in saline',
122122+ 'Make sure the sensors are thoroughly soaked with saline solution. They should be wet to the touch'
123123 );
124124 case HELP_STEP.SIGNAL_CONTACT:
125125 return this.renderHelp(
126126- "Tip #2: Ensure the sensors are making firm contact",
127127- "Re-seat the headset to make sure that all sensors contact the head with some tension. Take extra care to make sure the reference electrodes (the ones right behind the ears) make proper contact. You may need to sweep hair out of the way to accomplish this"
126126+ 'Tip #2: Ensure the sensors are making firm contact',
127127+ 'Re-seat the headset to make sure that all sensors contact the head with some tension. Take extra care to make sure the reference electrodes (the ones right behind the ears) make proper contact. You may need to sweep hair out of the way to accomplish this'
128128 );
129129 case HELP_STEP.SIGNAL_MOVEMENT:
130130 return this.renderHelp(
131131- "Tip #3: Stay still",
132132- "To reduce noise during your experiment, ensure your subject is relaxed and has both feet on the floor. Sometimes, focusing on relaxing the jaw and the tongue can improve the EEG signal"
131131+ 'Tip #3: Stay still',
132132+ 'To reduce noise during your experiment, ensure your subject is relaxed and has both feet on the floor. Sometimes, focusing on relaxing the jaw and the tongue can improve the EEG signal'
133133 );
134134 case HELP_STEP.LEARN_BRAIN:
135135 return this.renderHelp(
136136- "Your brain produces electricity",
137137- "Using the device that you are wearing, we can detect the electrical activity of your brain."
136136+ 'Your brain produces electricity',
137137+ 'Using the device that you are wearing, we can detect the electrical activity of your brain.'
138138 );
139139 case HELP_STEP.LEARN_BLINK:
140140 return this.renderHelp(
141141- "Try blinking your eyes",
142142- "Does the signal change? Eye movements create noise in the EEG signal"
141141+ 'Try blinking your eyes',
142142+ 'Does the signal change? Eye movements create noise in the EEG signal'
143143 );
144144 case HELP_STEP.LEARN_THOUGHTS:
145145 return this.renderHelp(
146146- "Try thinking of a cat",
146146+ 'Try thinking of a cat',
147147 "Does the signal change? Although EEG can measure overall brain activity, it's not capable of reading minds"
148148 );
149149 case HELP_STEP.LEARN_ALPHA:
150150 return this.renderHelp(
151151- "Try closing your eyes for 10 seconds",
152152- "You may notice a change in your signal due to an increase in alpha waves"
151151+ 'Try closing your eyes for 10 seconds',
152152+ 'You may notice a change in your signal due to an increase in alpha waves'
153153 );
154154 case HELP_STEP.MENU:
155155 default:
···179179 return (
180180 <Button
181181 circular
182182- icon="question"
182182+ icon='question'
183183 className={styles.helpButton}
184184- floated="right"
184184+ floated='right'
185185 onClick={this.props.onClick}
186186 />
187187 );