From 3ea501161ca87ef6057d83ca79335f85d6d04d11 Mon Sep 17 00:00:00 2001 From: ilnaz <237x237@gmail.com> Date: Sun, 12 Jan 2025 11:16:58 +0300 Subject: [PATCH] fix: add schedule fix --- src/components/MasterItem/MasterItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/MasterItem/MasterItem.tsx b/src/components/MasterItem/MasterItem.tsx index 23c683a..29a85ee 100644 --- a/src/components/MasterItem/MasterItem.tsx +++ b/src/components/MasterItem/MasterItem.tsx @@ -23,7 +23,7 @@ const MasterItem = ({ name, phone, id, schedule }) => { {name} - {schedule.map(({ startWashTime, endWashTime }, index) => ( + {schedule?.map(({ startWashTime, endWashTime }, index) => ( {getTimeSlot(startWashTime, endWashTime)}