diff --git a/components/cycle-day/cycle-day-overview.js b/components/cycle-day/cycle-day-overview.js index 31e54d5..3578682 100644 --- a/components/cycle-day/cycle-day-overview.js +++ b/components/cycle-day/cycle-day-overview.js @@ -190,12 +190,16 @@ class SymptomBox extends Component { class FillerBoxes extends Component { render() { const n = Dimensions.get('window').width / styles.symptomBox.minHeight - return Array(Math.ceil(n)).fill( - - ) + const fillerBoxes = [] + for (let i = 0; i < Math.ceil(n); i++) { + fillerBoxes.push( + + ) + } + return fillerBoxes } } \ No newline at end of file