Open Gripers opened 1 year ago
i'm trying with useRef, but it gives error ref.current.to() is not a function
ref.current.to()
You need to test first -- if (ref && ref.current) {.your code }
i'm trying with useRef, but it gives error
ref.current.to()
is not a function