diff --git a/components/cycle-day/symptoms/temperature.js b/components/cycle-day/symptoms/temperature.js index 9a5efc22ea7638d50efd0c56a00a64e54ef2321a..f8d2bcb4f305d2ba7c624e83a67afffcbb27110e 100644 --- a/components/cycle-day/symptoms/temperature.js +++ b/components/cycle-day/symptoms/temperature.js @@ -38,7 +38,7 @@ export default class Temp extends Component { if (temp) { const [integer, fractional] = temp.value.toString().split('.') this.state.integer = integer - this.state.fractional = fractional + this.state.fractional = fractional || '0' } else { const prevTemp = getPreviousTemperature(this.cycleDay) if (prevTemp) {