We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents df857c5 + 5baaad0 commit c0e9e5fCopy full SHA for c0e9e5f
1 file changed
src/interactions/brush.js
@@ -25,6 +25,7 @@ export class Brush extends Mark {
25
this.focus = renderFilter(false);
26
}
27
render(index, scales, values, dimensions, context) {
28
+ if (typeof document === "undefined") return null;
29
const {x, y, fx, fy} = scales;
30
const {inactive, context: ctx, focus} = this;
31
let target, currentNode, syncing;
0 commit comments