diff --git a/src/internal/components/QrCode/QrCodeSvg.tsx b/src/internal/components/QrCode/QrCodeSvg.tsx index b9b6db1835..6da7b3c142 100644 --- a/src/internal/components/QrCode/QrCodeSvg.tsx +++ b/src/internal/components/QrCode/QrCodeSvg.tsx @@ -80,7 +80,7 @@ export function QrCodeSvg({ ]; const matrix = useMatrix(value, ecl); - const corners = useCorners(size, matrix.length, bgColor, fillColor); + const corners = useCorners(size, matrix.length, bgColor, fillColor, uid); const { x: x1, y: y1 } = GRADIENT_START_COORDINATES; const { x: x2, y: y2 } = GRADIENT_END_COORDINATES; diff --git a/src/internal/components/QrCode/useCorners.tsx b/src/internal/components/QrCode/useCorners.tsx index 2e78f9a607..e7f7f1f278 100644 --- a/src/internal/components/QrCode/useCorners.tsx +++ b/src/internal/components/QrCode/useCorners.tsx @@ -78,6 +78,7 @@ export function useCorners( fillColor, rectSize, size, + uid, ], ); return corners;