Merge pull request #37 from zaaakher/main
Some checks failed
Build Docker images / build-and-push-image-docs (push) Has been cancelled
Build Docker images / build-and-push-image-website (push) Has been cancelled

fix(website): duplicate key for children in `stats.tsx`
This commit is contained in:
Mauricio Siu
2025-05-01 21:06:42 -06:00
committed by GitHub

View File

@@ -158,10 +158,10 @@ export function GridPattern({ width, height, x, y, squares, ...props }: any) {
/>
{squares && (
<svg x={x} y={y} className="overflow-visible">
{squares.map(([x, y]: any) => (
{squares.map(([x, y]: any, i: number) => (
<rect
strokeWidth="0"
key={`${x}-${y}`}
key={`${x}-${y}-${i}`}
width={width + 1}
height={height + 1}
x={x * width}