Change id/key of rows/cells

This commit is contained in:
Vencislav Atanasov 2024-09-28 21:10:41 +03:00
parent 8f3fedcf07
commit 3d4e0faf60
1 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ export default function useScheduleTable({
...showHeader ? [{
id: 'header-'.concat(getTime(date).toString()),
cells: [{
id: 1,
id: 'header',
attributes: {
colSpan: header.length,
},
@ -59,7 +59,7 @@ export default function useScheduleTable({
...showSlot ? [{
id: 'slot-'.concat(getTime(date).toString()),
cells: [{
id: 1,
id: 'timeslot',
timeSlot: {
start: date,
end: nextDate,