Skip to content

Commit 365e0c5

Browse files
committed
fix(web): show closed status on home
1 parent dbd1177 commit 365e0c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

web/src/app/[locale]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export default function HomePage() {
5555
// Convert JS day (0=Sunday) to schedule index (0=Monday)
5656
const dayIndex = today === 0 ? 6 : today - 1;
5757
const todaySchedule = data.openingSchedule.schedule[dayIndex];
58-
if (!todaySchedule || todaySchedule.length === 0) return null;
58+
if (!todaySchedule || todaySchedule.length === 0) return t("closedToday");
5959
return todaySchedule.map((slot) => `${slot.start} - ${slot.end}`).join(" ");
6060
};
6161

0 commit comments

Comments
 (0)