fix: mark the picked day in Calendar's mini month (#35504)

This commit is contained in:
G30 authored and GitHub committed 2026-12-02 19:29:57 +04:00
1 parent e6a8dd052d
commit 7dba387f16
1 file changed
+1 -3
@@ -80,9 +80,7 @@
return d.toDateString() === new Date().toDateString();
}
function isSelected(d: Date): boolean {
return d.toDateString() === currentDate.toDateString();
}
$: isSelected = (d: Date): boolean => d.toDateString() === currentDate.toDateString();
function navigateMini(delta: number) {
if (miniMonth + delta > 11) {