diff --git a/packages/victory-brush-line/src/victory-brush-line.tsx b/packages/victory-brush-line/src/victory-brush-line.tsx index 32a365ddd..a293bc75e 100644 --- a/packages/victory-brush-line/src/victory-brush-line.tsx +++ b/packages/victory-brush-line/src/victory-brush-line.tsx @@ -468,7 +468,7 @@ export class VictoryBrushLine< } return []; }, - onMouseUp(evt, targetProps) { + onMouseUp: (evt, targetProps) => { const { onBrushDomainChange, brushDomain, @@ -496,7 +496,7 @@ export class VictoryBrushLine< }, ]; }, - onMouseLeave(evt, targetProps) { + onMouseLeave: (evt, targetProps) => { const { brushDomain } = targetProps; return [ {