From 52b871b7dfdaf3df0098800c219307fe41aeac67 Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Wed, 21 Jul 2021 21:50:11 -0700 Subject: [PATCH] fix: voronoi key index fallback --- src/components/Voronoi.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Voronoi.tsx b/src/components/Voronoi.tsx index 67bc89bf..0747bf61 100644 --- a/src/components/Voronoi.tsx +++ b/src/components/Voronoi.tsx @@ -201,9 +201,9 @@ function PrimaryVoronoi({ }, }} > - {columns.map(column => { + {columns.map((column, i) => { return ( - + {column.datumBoundaries.map(datumBoundary => { const x1 = !primaryAxis.isVertical ? column.primaryStart