Removed unused vars

This commit is contained in:
Piotr Rogowski 2021-03-27 13:40:52 +01:00
parent 83b768cb04
commit 71b73ab642
No known key found for this signature in database
GPG Key ID: F40F61D5587F5673
2 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import { useEffect, useMemo, useState } from 'react';
import { useEffect, useMemo } from 'react';
import {
useLocation,
Switch,

View File

@ -90,7 +90,6 @@ const Canvas = ({ data }: { data: LogEntry[] }) => {
}, [data, zoom, pan, indicatorPos]);
const onWheel = (e: WheelEvent) => {
const canvas = canvasRef.current!;
const leftBoundary = 0;
if (Math.abs(e.deltaY) > Math.abs(e.deltaX)) {