From e14bd690dc93e5aa1b2b3e84b403cbef0cdb1ee6 Mon Sep 17 00:00:00 2001 From: Sofiya Tepikin Date: Fri, 15 Nov 2019 17:52:12 +0100 Subject: [PATCH] Fixes typo, and removes a redundant line --- components/chart/day-column.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/components/chart/day-column.js b/components/chart/day-column.js index c7b3646..c49f9db 100644 --- a/components/chart/day-column.js +++ b/components/chart/day-column.js @@ -46,7 +46,6 @@ class DayColumn extends Component { this.symptomColorMethods[symptom] || this.symptomColorMethods['default'] - getSymptomColorIndex(symptomData) symptomDataToDisplay[symptom] = getSymptomColorIndex(symptomData) } } @@ -140,7 +139,7 @@ class DayColumn extends Component { return false } - drawSypmtom = (symptom) => { + drawSymptom = (symptom) => { const { symptomHeight } = this.props const shouldDrawSymptom = this.data.hasOwnProperty(symptom) @@ -265,7 +264,7 @@ class DayColumn extends Component { activeOpacity={1} > - {symptomRowSymptoms.map(symptom => this.drawSypmtom(symptom))} + {symptomRowSymptoms.map(symptom => this.drawSymptom(symptom))}