fix: add schedule fix
All checks were successful
it-academy/dry-wash-pl/pipeline/head This commit looks good
All checks were successful
it-academy/dry-wash-pl/pipeline/head This commit looks good
This commit is contained in:
parent
e8634c396f
commit
3ea501161c
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user