Skip to content

Commit

Permalink
fix: types
Browse files Browse the repository at this point in the history
  • Loading branch information
tannerlinsley committed Aug 2, 2021
1 parent a2471ea commit be522ac
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/components/Voronoi.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,9 @@ function PrimaryVoronoi<TDatum>({
const stackedVoronoi = secondaryAxes.length === 1 && secondaryAxes[0].stacked

return React.useMemo(() => {
const firsts = Array.from(datumsByInteractionGroup.entries()).map(
d => d[1][0]
)

let preColumns = Array.from(datumsByInteractionGroup.entries())
.map(([_, datums]) => datums)
.filter((datums, i) => {
.filter(datums => {
const datum = datums[0]

if (!datum) {
Expand Down

1 comment on commit be522ac

@vercel
Copy link

@vercel vercel bot commented on be522ac Aug 2, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.