Skip to content

Commit

Permalink
fix: Fixes issue where an intercalary month could cause Year view to …
Browse files Browse the repository at this point in the history
…not open
  • Loading branch information
valentine195 committed Mar 9, 2024
1 parent ee8fe81 commit 08c1d2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/calendar/ui/Year/Year.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
const full = getTypedContext("full");
$: yearStore = yearCalculator.getYearFromCache($displaying.year);
$: monthArray = store.staticStore.months;
$: monthArray = yearStore.months;
/* const months = $monthArray.map((m) =>
yearStore.getMonthFromCache($monthArray.indexOf(m))
Expand Down

0 comments on commit 08c1d2d

Please sign in to comment.