Fixed incorrect react key
This commit is contained in:
@@ -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`,
|
||||||
|
|||||||
Reference in New Issue
Block a user