diff --git a/components/stats.js b/components/stats.js index 4668859..23a83d1 100644 --- a/components/stats.js +++ b/components/stats.js @@ -31,11 +31,11 @@ export default class Stats extends Component { {labels.emptyStats} } {atLeastOneCycle && numberOfCycles === 1 && - - {labels.oneCycleStats} - {cycleLengths[0]} - {labels.daysLabel + '.'} - + + {labels.oneCycleStats} + {' ' + cycleLengths[0] + ' '} + {labels.daysLabel + '.'} + } {atLeastOneCycle && numberOfCycles > 1 && @@ -54,14 +54,14 @@ export default class Stats extends Component { {labels.stdLabel} {cycleInfo.stdDeviation + ' ' + labels.daysLabel} - - {labels.basisOfStatsBeginning} - {numberOfCycles} - {labels.basisOfStatsEnd} - + + {labels.basisOfStatsBeginning} + {' ' + numberOfCycles + ' '} + {labels.basisOfStatsEnd} + } ) } -} \ No newline at end of file +}