aboutsummaryrefslogtreecommitdiff
path: root/src/client/react/components
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2018-02-04 11:10:11 +0100
committerNoah Loomans <noahloomans@gmail.com>2018-02-04 11:10:11 +0100
commit77f5b8fbe87ce992c46ee5513eaa25c7a7f129ec (patch)
treedfa210b1be77940b7dc4cbd2c0e9ae30bb193477 /src/client/react/components
parent9f83f98c5f3c40d02f97bb934a3ab02c02adc256 (diff)
Fix code styling
Diffstat (limited to 'src/client/react/components')
-rw-r--r--src/client/react/components/container/WeekSelector.js10
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 }) => {