Fix change start of week (#272)

This commit is contained in:
Luke Vella 2022-08-03 11:20:52 +01:00 committed by GitHub
parent 8aa63acf93
commit d5162a21bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,7 +91,7 @@ export const DayjsProvider: React.VoidFunctionComponent<{
// the app via <Link locale={false}> 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<StartOfWeek>("rallly-week-starts-on");
const [timeFormat = localeConfig.timeFormat, setTimeFormat] =