aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-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 }) => {