fix: add schedule fix
All checks were successful
it-academy/dry-wash-pl/pipeline/head This commit looks good

This commit is contained in:
Ильназ 2025-01-12 11:16:58 +03:00
parent e8634c396f
commit 3ea501161c

View File

@ -23,7 +23,7 @@ const MasterItem = ({ name, phone, id, schedule }) => {
<Td>{name}</Td>
<Td>
<Stack direction='row'>
{schedule.map(({ startWashTime, endWashTime }, index) => (
{schedule?.map(({ startWashTime, endWashTime }, index) => (
<Badge colorScheme={'green'} key={index}>
{getTimeSlot(startWashTime, endWashTime)}
</Badge>