summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2026-02-01 01:44:48 +0100
committerMaze Winther <mazewinther@gmail.com>2026-02-01 01:44:48 +0100
commitd06b7c3b0fa6a83d762cfe7566ae438894ba4570 (patch)
treef17c304f2c57f003abf8aea9ba10bf50721476a2
parentb7293dc552180a927994eec5a8b2002cee267d50 (diff)
downloadopencut-d06b7c3b0fa6a83d762cfe7566ae438894ba4570.tar.gz
update type definition for containerRef in ColorPickerProps to allow null
-rw-r--r--apps/web/src/components/ui/color-picker.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/src/components/ui/color-picker.tsx b/apps/web/src/components/ui/color-picker.tsx
index ad350e0e..a57a86e0 100644
--- a/apps/web/src/components/ui/color-picker.tsx
+++ b/apps/web/src/components/ui/color-picker.tsx
@@ -7,7 +7,7 @@ interface ColorPickerProps {
value?: string;
onChange?: (value: string) => void;
className?: string;
- containerRef?: React.RefObject<HTMLDivElement>;
+ containerRef?: React.RefObject<HTMLDivElement | null>;
}
const hexToHsv = (hex: string) => {