diff --git a/components/cycle-day/symptoms/bleeding.js b/components/cycle-day/symptoms/bleeding.js index 2cfb21d..9d94a03 100644 --- a/components/cycle-day/symptoms/bleeding.js +++ b/components/cycle-day/symptoms/bleeding.js @@ -1,13 +1,11 @@ import React from 'react' import { Switch, - ScrollView} from 'react-native' - -import { bleeding } from '../../../i18n/en/cycle-day' + ScrollView +} from 'react-native' import styles from '../../../styles' - +import { bleeding } from '../../../i18n/en/cycle-day' import SelectTabGroup from '../select-tab-group' - import SymptomSection from './symptom-section' import SymptomView from './symptom-view' diff --git a/components/cycle-day/symptoms/cervix.js b/components/cycle-day/symptoms/cervix.js index 13c17fc..f58ebf2 100644 --- a/components/cycle-day/symptoms/cervix.js +++ b/components/cycle-day/symptoms/cervix.js @@ -1,13 +1,11 @@ import React from 'react' import { Switch, - ScrollView} from 'react-native' - -import { cervix as labels } from '../../../i18n/en/cycle-day' + ScrollView +} from 'react-native' import styles from '../../../styles' - +import { cervix as labels } from '../../../i18n/en/cycle-day' import SelectTabGroup from '../select-tab-group' - import SymptomSection from './symptom-section' import SymptomView from './symptom-view' diff --git a/components/cycle-day/symptoms/desire.js b/components/cycle-day/symptoms/desire.js index 5cb335f..5ff9fad 100644 --- a/components/cycle-day/symptoms/desire.js +++ b/components/cycle-day/symptoms/desire.js @@ -1,12 +1,10 @@ import React from 'react' import { - ScrollView} from 'react-native' - -import { intensity, desire } from '../../../i18n/en/cycle-day' + ScrollView +} from 'react-native' import styles from '../../../styles' - +import { intensity, desire } from '../../../i18n/en/cycle-day' import SelectTabGroup from '../select-tab-group' - import SymptomSection from './symptom-section' import SymptomView from './symptom-view' diff --git a/components/cycle-day/symptoms/mood.js b/components/cycle-day/symptoms/mood.js index 8ad698b..09f8fbc 100644 --- a/components/cycle-day/symptoms/mood.js +++ b/components/cycle-day/symptoms/mood.js @@ -2,12 +2,10 @@ import React from 'react' import { ScrollView, TextInput} from 'react-native' - import { mood as labels } from '../../../i18n/en/cycle-day' -import styles from '../../../styles' - import SelectBoxGroup from '../select-box-group' import SymptomSection from './symptom-section' +import styles from '../../../styles' import SymptomView from './symptom-view' export default class Mood extends SymptomView { @@ -24,7 +22,7 @@ export default class Mood extends SymptomView { } } - symptomName = 'mood' + symptomName = "mood" onBackButtonPress() { const nothingEntered = Object.values(this.state).every(val => !val) diff --git a/components/cycle-day/symptoms/mucus.js b/components/cycle-day/symptoms/mucus.js index 1c75131..2d7b9d1 100644 --- a/components/cycle-day/symptoms/mucus.js +++ b/components/cycle-day/symptoms/mucus.js @@ -1,14 +1,12 @@ import React from 'react' import { Switch, - ScrollView} from 'react-native' - + ScrollView +} from 'react-native' import styles from '../../../styles' import { mucus as labels } from '../../../i18n/en/cycle-day' import computeNfpValue from '../../../lib/nfp-mucus' - import SelectTabGroup from '../select-tab-group' - import SymptomSection from './symptom-section' import SymptomView from './symptom-view' @@ -65,7 +63,6 @@ export default class Mucus extends SymptomView { active={this.state.feeling} /> - !val) @@ -65,7 +61,6 @@ export default class Sex extends SymptomView { optionsState={this.state} /> -