mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-24 05:05:20 -04:00
fix(lint)
This commit is contained in:
parent
39f90aa54a
commit
b385befe84
@ -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 });
|
||||
});
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
};
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user