Skip to content

Commit ab59f39

Browse files
committed
prettier
1 parent 05679e3 commit ab59f39

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/marks/delaunay.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ class Voronoi extends Mark {
233233
for (let [fi, facet] of facets.entries()) {
234234
if (X) facet = facet.filter((i) => defined(X[i]));
235235
if (Y) facet = facet.filter((i) => defined(Y[i]));
236-
const Cf = C[fi] = [];
236+
const Cf = (C[fi] = []);
237237
for (const [, index] of maybeGroup(facet, Z)) {
238238
const delaunay = Delaunay.from(index, xi, yi);
239239
const voronoi = voronoiof(delaunay, dimensions);
@@ -249,7 +249,11 @@ class Voronoi extends Mark {
249249
}
250250
render(index, scales, channels, dimensions, context) {
251251
const {x, y} = scales;
252-
const {x: X, y: Y, cells: {[index.fi ?? 0]: C}} = channels;
252+
const {
253+
x: X,
254+
y: Y,
255+
cells: {[index.fi ?? 0]: C}
256+
} = channels;
253257
return create("svg:g", context)
254258
.call(applyIndirectStyles, this, dimensions, context)
255259
.call(applyTransform, this, {x: X && x, y: Y && y})

0 commit comments

Comments
 (0)