diff options
| author | Maze Winther <mazewinther@gmail.com> | 2026-02-01 01:44:48 +0100 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2026-02-01 01:44:48 +0100 |
| commit | d06b7c3b0fa6a83d762cfe7566ae438894ba4570 (patch) | |
| tree | f17c304f2c57f003abf8aea9ba10bf50721476a2 /apps/web/src/components/ui | |
| parent | b7293dc552180a927994eec5a8b2002cee267d50 (diff) | |
| download | opencut-d06b7c3b0fa6a83d762cfe7566ae438894ba4570.tar.gz | |
update type definition for containerRef in ColorPickerProps to allow null
Diffstat (limited to 'apps/web/src/components/ui')
| -rw-r--r-- | apps/web/src/components/ui/color-picker.tsx | 2 |
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) => { |
