diff options
author | Noah Loomans <noahloomans@gmail.com> | 2018-02-04 11:10:11 +0100 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2018-02-04 11:10:11 +0100 |
commit | 77f5b8fbe87ce992c46ee5513eaa25c7a7f129ec (patch) | |
tree | dfa210b1be77940b7dc4cbd2c0e9ae30bb193477 /src/client/react/components | |
parent | 9f83f98c5f3c40d02f97bb934a3ab02c02adc256 (diff) |
Fix code styling
Diffstat (limited to 'src/client/react/components')
-rw-r--r-- | src/client/react/components/container/WeekSelector.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/client/react/components/container/WeekSelector.js b/src/client/react/components/container/WeekSelector.js index 03f1880..b8b5c2b 100644 --- a/src/client/react/components/container/WeekSelector.js +++ b/src/client/react/components/container/WeekSelector.js @@ -14,14 +14,14 @@ function weekName(week) { const currentWeek = moment().week(); if (currentWeek === week) { - return "Huidige week • " + week; + return `Huidige week • ${week}`; } else if (currentWeek + 1 === week) { - return "Volgende week • " + week; + return `Volgende week • ${week}`; } else if (currentWeek - 1 === week) { - return "Vorige week • " + week; + return `Vorige week • ${week}`; } - - return "Week " + week; + + return `Week ${week}`; } const WeekSelector = ({ location, history }) => { |