From fa8fe8ee52b27ba5c5b0c8b635b6b300765cbe6b Mon Sep 17 00:00:00 2001 From: Kenan Date: Fri, 26 Jan 2024 11:29:51 +0000 Subject: [PATCH] fix linting error --- packages/victory-brush-line/src/victory-brush-line.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 [ {