diff options
Diffstat (limited to 'apps/web/src/components/editor/selection-box.tsx')
| -rw-r--r-- | apps/web/src/components/editor/selection-box.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/src/components/editor/selection-box.tsx b/apps/web/src/components/editor/selection-box.tsx index 32adbfd8..0b757e36 100644 --- a/apps/web/src/components/editor/selection-box.tsx +++ b/apps/web/src/components/editor/selection-box.tsx @@ -5,7 +5,7 @@ import { useMemo } from "react"; interface SelectionBoxProps { startPos: { x: number; y: number } | null; currentPos: { x: number; y: number } | null; - containerRef: React.RefObject<HTMLElement>; + containerRef: React.RefObject<HTMLElement | null>; isActive: boolean; } |
