From 0497e0864f74beddb5f432bea2e6a4691a44af18 Mon Sep 17 00:00:00 2001 From: Robin Townsend Date: Wed, 21 Jul 2021 02:42:30 -0400 Subject: [PATCH] Fix types Signed-off-by: Robin Townsend --- src/components/views/elements/ImageView.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/elements/ImageView.tsx b/src/components/views/elements/ImageView.tsx index 215c92671b..40003f734c 100644 --- a/src/components/views/elements/ImageView.tsx +++ b/src/components/views/elements/ImageView.tsx @@ -230,11 +230,11 @@ export default class ImageView extends React.Component { } }; - private onZoomInClick = (ev: MouseEvent) => { + private onZoomInClick = () => { this.zoomDelta(ZOOM_STEP); }; - private onZoomOutClick = (ev: MouseEvent) => { + private onZoomOutClick = () => { this.zoomDelta(-ZOOM_STEP); };