From ca905c6bc6cccbb9cfd7da5859b1e6875871a623 Mon Sep 17 00:00:00 2001 From: emelko Date: Mon, 4 Feb 2019 23:00:37 +0100 Subject: [PATCH] Denastify nesting to make styles.emphasis work Co-Authored-By: tina <1700791-liv-theo@users.noreply.gitlab.com> --- components/stats.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) 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 +}