Removed unused vars
This commit is contained in:
parent
83b768cb04
commit
71b73ab642
|
@ -1,4 +1,4 @@
|
|||
import { useEffect, useMemo, useState } from 'react';
|
||||
import { useEffect, useMemo } from 'react';
|
||||
import {
|
||||
useLocation,
|
||||
Switch,
|
||||
|
|
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue