diff --git a/src/routes/private/boxes-print/BoxesPrint.tsx b/src/routes/private/boxes-print/BoxesPrint.tsx index 7b5f38a..3d82f4e 100644 --- a/src/routes/private/boxes-print/BoxesPrint.tsx +++ b/src/routes/private/boxes-print/BoxesPrint.tsx @@ -33,9 +33,10 @@ interface BoxesPrintProps { weight: number; }>; }; + key: number | string; } -const BoxesPrint = forwardRef(({ boxData }, ref) => { +const BoxesPrint = forwardRef(({ boxData, key }, ref) => { return ( (({ boxData }, ref height: '100mm', }, }} + key={key} > diff --git a/src/routes/private/boxes-print/BoxesPrintList.tsx b/src/routes/private/boxes-print/BoxesPrintList.tsx index 09cac0c..f96e002 100644 --- a/src/routes/private/boxes-print/BoxesPrintList.tsx +++ b/src/routes/private/boxes-print/BoxesPrintList.tsx @@ -20,7 +20,7 @@ const BoxesPrintList = forwardRef(({ boxDat
{productsChunks.map((chunk, index) => (
- +
))}