Skip to content

Ref Type Error on click #1944

Answered by khoneychurch
Iambizi asked this question in Q&A
Dec 28, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

I'm not sure you need to involve the ref for that, here's one option: https://codesandbox.io/s/kid-warped-planes-forked-sd2te?file=/src/App.js

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Iambizi
Comment options

Answer selected by Iambizi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants