mirror of
https://github.com/Dokploy/website
synced 2025-06-26 18:16:01 +00:00
fix(website): duplicate key for children in stats.tsx
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user