diff --git a/src/utils/format/holidayEmoji.ts b/src/utils/format/holidayEmoji.ts index f630ad82a..a71f972a2 100644 --- a/src/utils/format/holidayEmoji.ts +++ b/src/utils/format/holidayEmoji.ts @@ -20,5 +20,5 @@ export const getHolidayEmoji = (date: Date = new Date()): string => { { start: new Date(`${year}-07-05`), end: new Date(`${year}-09-01`), emoji: "🏖️" }, // Grandes vacances ]; -return periods.find((period) => date >= period.start && date <= period.end)?.emoji ?? "🏝️"; + return periods.find((period) => date >= period.start && date <= period.end)?.emoji ?? "🏝️"; };