diff --git a/components/tools/ManipulationPanel.tsx b/components/tools/ManipulationPanel.tsx index c9e7def..52b41af 100644 --- a/components/tools/ManipulationPanel.tsx +++ b/components/tools/ManipulationPanel.tsx @@ -33,11 +33,11 @@ export function ManipulationPanel({ color, onColorChange }: ManipulationPanelPro const complementMutation = useComplement(); // Debounce timers - const lightenTimer = useRef(); - const darkenTimer = useRef(); - const saturateTimer = useRef(); - const desaturateTimer = useRef(); - const rotateTimer = useRef(); + const lightenTimer = useRef(undefined); + const darkenTimer = useRef(undefined); + const saturateTimer = useRef(undefined); + const desaturateTimer = useRef(undefined); + const rotateTimer = useRef(undefined); // Reactive lighten useEffect(() => {