diff --git a/src/utils/dayjs.tsx b/src/utils/dayjs.tsx index 2fef89004..a2050509b 100644 --- a/src/utils/dayjs.tsx +++ b/src/utils/dayjs.tsx @@ -91,7 +91,7 @@ export const DayjsProvider: React.VoidFunctionComponent<{ // the app via it will be set to "en" instead of the current locale. const localeConfig = dayjsLocales[i18n.language]; - const [weekStartsOn = localeConfig.weekStartsOn, , setWeekStartsOn] = + const [weekStartsOn = localeConfig.weekStartsOn, setWeekStartsOn] = useLocalStorage("rallly-week-starts-on"); const [timeFormat = localeConfig.timeFormat, setTimeFormat] =