Adds linter rule for no multi spaces

This commit is contained in:
Sofiya Tepikin
2020-02-16 12:37:19 +01:00
parent 856f6216ee
commit d054187485
7 changed files with 14 additions and 11 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ class Bleeding extends Component {
autoSave = () => {
const { date } = this.props
const valuesToSave = { ...this.state }
const hasValueToSave = typeof this.state.value === 'number'
const hasValueToSave = typeof this.state.value === 'number'
saveSymptom(this.symptom, date, hasValueToSave ? valuesToSave : null)
}