Skip to content

Commit

Permalink
Remove unnecessary date value from groupOpeningHoursByWeekday
Browse files Browse the repository at this point in the history
This value is not used anywhere and is the same as `dateTime`
  • Loading branch information
kasperbirch1 committed May 31, 2024
1 parent 53d999a commit 672fcb7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/apps/opening-hours/OpeningHoursHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ export const groupOpeningHoursByWeekday = (
const daysWithOpeningHours: GroupedOpeningHours = allDays.map((day) => {
return {
dateTime: day,
date: day,
openingHourEntries: openingHours.filter((individualOpeningHour) =>
dayjs(individualOpeningHour.date).isSame(day, "day")
)
Expand Down

0 comments on commit 672fcb7

Please sign in to comment.