KamoCRM

Resolve TypeScript type error for react-draggable nodeRef

Fixkamo-internal
Shipped
19 நவம்பர், 2025 அன்று 2:30 AM UTC
Author
snadjafinia
Commit
01289f4

- Updated nodeRefs Map type to accept RefObject<HTMLDivElement | null> - Added type assertion when passing nodeRef to Draggable component - Fixes build error: Type 'RefObject<HTMLDivElement | null>' is not assignable to 'RefObject<HTMLDivElement>'

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing