Fix linter problems

This commit is contained in:
Julia Friesel
2019-05-13 08:12:46 +02:00
parent d1e16abe34
commit 6011bd9208
8 changed files with 72 additions and 71 deletions
+2 -2
View File
@@ -1,6 +1,5 @@
import React from 'react'
import {
View,
Switch,
ScrollView
} from 'react-native'
@@ -50,7 +49,8 @@ export default class Mucus extends SymptomView {
{ label: labels.texture.categories[1], value: 1 },
{ label: labels.texture.categories[2], value: 2 }
]
const mandatoryNotCompletedYet = typeof this.state.feeling != 'number' || typeof this.state.texture != 'number'
// TODO leaving this info for notice when leaving incomplete data
// const mandatoryNotCompletedYet = typeof this.state.feeling != 'number' || typeof this.state.texture != 'number'
return (
<ScrollView style={styles.page}>
<SymptomSection