From 7ec5a919ecde4a0536034440d7b92b94d965d2d2 Mon Sep 17 00:00:00 2001 From: Juan Quintero Date: Wed, 30 Aug 2023 00:50:40 -0500 Subject: [PATCH] fix: {object.rows.map((row: InternalTableCell[], i: number) => ( - {row.map((cell: InternalTableCell) => { + {row.map((cell: InternalTableCell, j: number) => { return (
key prop error (#693) * chore: table header flag * feat: add table header preview * chore: table cell node and props * chore: table cell normalizer * chore: preview table with table cell rows * chore: table sub node cell * chore: table cell normalizer as text * chore: format files * fix: add table as node * feat: add table.cell to pages * feat: support table.cell props for render * chore: table.cell props for preview * chore: format files * feat: add table cell margin support * feat: table cell margin preview * chore: format files * style: improve table sample * chore: fix comments * fix: preview table td key prop * fix: preview table td key prop * chore: revoke slide object key --- src/preview/Preview.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/preview/Preview.tsx b/src/preview/Preview.tsx index 29e6f53..ac94754 100644 --- a/src/preview/Preview.tsx +++ b/src/preview/Preview.tsx @@ -379,10 +379,10 @@ const SlideObjectPreview = ({