Skip to content

Commit 5dc545d

Browse files
committed
prettier
1 parent 2cc9c1c commit 5dc545d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/interactions/brush.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,10 @@ export class Brush extends Mark {
121121
const d = n.__data__;
122122
return (fx === undefined || d?.x === fx) && (fy === undefined || d?.y === fy);
123123
});
124-
if (!node) throw new Error(fx === undefined && fy === undefined ? "No brush node found" : "No brush node found for the specified facet");
124+
if (!node)
125+
throw new Error(
126+
fx === undefined && fy === undefined ? "No brush node found" : "No brush node found for the specified facet"
127+
);
125128
const px1 = this._applyX(x1);
126129
const px2 = this._applyX(x2);
127130
const py1 = this._applyY(y1);

0 commit comments

Comments
 (0)