Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
JyhuKo authored Dec 23, 2024
1 parent 988c04a commit 532b8db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/format/holidayEmoji.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 ?? "🏝️";
};

0 comments on commit 532b8db

Please sign in to comment.