We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2471ea commit be522acCopy full SHA for be522ac
src/components/Voronoi.tsx
@@ -70,13 +70,9 @@ function PrimaryVoronoi<TDatum>({
70
const stackedVoronoi = secondaryAxes.length === 1 && secondaryAxes[0].stacked
71
72
return React.useMemo(() => {
73
- const firsts = Array.from(datumsByInteractionGroup.entries()).map(
74
- d => d[1][0]
75
- )
76
-
77
let preColumns = Array.from(datumsByInteractionGroup.entries())
78
.map(([_, datums]) => datums)
79
- .filter((datums, i) => {
+ .filter(datums => {
80
const datum = datums[0]
81
82
if (!datum) {
0 commit comments