fixed type errors
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import { useEffect } from "react";
|
||||
import type { SightingWidgetType } from "../types/types";
|
||||
import type { SightingType } from "../types/types";
|
||||
import { drawRects } from "../utils/utils";
|
||||
|
||||
type Mode = 0 | 1 | 2;
|
||||
|
||||
export function useOverviewOverlay(
|
||||
selected: SightingWidgetType | null | undefined,
|
||||
selected: SightingType | null | undefined,
|
||||
overlayMode: Mode,
|
||||
imgRef: React.RefObject<HTMLImageElement | null>,
|
||||
canvasRef: React.RefObject<HTMLCanvasElement | null>
|
||||
|
||||
Reference in New Issue
Block a user