mirror of
https://github.com/urosran/cally.git
synced 2025-11-26 08:24:55 +00:00
Fix first day of week setting
This commit is contained in:
@ -321,7 +321,7 @@ const CalendarSettingsPage = () => {
|
|||||||
);
|
);
|
||||||
|
|
||||||
const handleChangeFirstDayOfWeek = (firstDayOfWeek: string) => {
|
const handleChangeFirstDayOfWeek = (firstDayOfWeek: string) => {
|
||||||
setFirstDayOfWeek(firstDayOfWeek === "Sundays" ? "Mondays" : "Sundays");
|
setFirstDayOfWeek(firstDayOfWeek);
|
||||||
debouncedUpdateFirstDayOfWeek(
|
debouncedUpdateFirstDayOfWeek(
|
||||||
firstDayOfWeek === "Sundays" ? "Mondays" : "Sundays"
|
firstDayOfWeek === "Sundays" ? "Mondays" : "Sundays"
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user