fix(lint)

This commit is contained in:
Andrea Vos 2025-08-12 09:39:08 +02:00
parent 39f90aa54a
commit b385befe84
2 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ const namedaysString = (name: Name) => {
}
const days = name.namedays.map((d) => {
const [month, day] = d.split('-').map(s => parseInt(s, 10));
const [month, day] = d.split('-').map((s) => parseInt(s, 10));
return translator.translate(`calendar.dates.${month}`, { day });
});

View File

@ -129,6 +129,6 @@ export const loadCalendar = async () => {
// quickfix: not sure why that would happen (events.ts always exists, with at least `export default []`),
// but apparently on Safari on Polish version (only?) we can get "500 Error Cannot access uninitialized variable."
// returning [] still loads events correctly (via a separate request?)
return buildCalendar([], baseUrl);
return buildCalendar([], baseUrl);
}
};