Fixed incorrect react key

This commit is contained in:
Donkie
2024-06-19 21:13:07 +02:00
parent 58e76b0ece
commit 515aafac8f

View File

@@ -123,9 +123,8 @@ const PrintingDialog: React.FC<PrintingDialogProps> = ({
<tr key={rowIdx}> <tr key={rowIdx}>
{row.map(function (item, colIdx) { {row.map(function (item, colIdx) {
return ( return (
<td> <td key={colIdx}>
<div <div
key={colIdx}
style={{ style={{
width: `${itemWidth}mm`, width: `${itemWidth}mm`,
height: `${itemHeight}mm`, height: `${itemHeight}mm`,