mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-29 10:16:32 +02:00
Fix change start of week (#272)
This commit is contained in:
parent
8aa63acf93
commit
d5162a21bf
1 changed files with 1 additions and 1 deletions
|
@ -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] =
|
||||
|
|
Loading…
Add table
Reference in a new issue