Skip to content

Commit be522ac

Browse files
committed
fix: types
1 parent a2471ea commit be522ac

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/components/Voronoi.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,9 @@ function PrimaryVoronoi<TDatum>({
7070
const stackedVoronoi = secondaryAxes.length === 1 && secondaryAxes[0].stacked
7171

7272
return React.useMemo(() => {
73-
const firsts = Array.from(datumsByInteractionGroup.entries()).map(
74-
d => d[1][0]
75-
)
76-
7773
let preColumns = Array.from(datumsByInteractionGroup.entries())
7874
.map(([_, datums]) => datums)
79-
.filter((datums, i) => {
75+
.filter(datums => {
8076
const datum = datums[0]
8177

8278
if (!datum) {

0 commit comments

Comments
 (0)