mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Update setFirstWeekday with new .on() type signature
This commit is contained in:
parent
8af82b4594
commit
1d9cb6f613
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ export function renderCalendar(
|
|||
d
|
||||
)
|
||||
)
|
||||
.on("click", setFirstDayOfWeek);
|
||||
.on("click", (_event: MouseEvent, d: number) => setFirstDayOfWeek(d));
|
||||
|
||||
svg.select("g.days")
|
||||
.selectAll("rect")
|
||||
|
|
Loading…
Reference in a new issue