react-random-reveal icon indicating copy to clipboard operation
react-random-reveal copied to clipboard

Error: (0 , f.useRef) is not a function when run with nextjs. React version 18.2

Open NPham1402 opened this issue 2 years ago • 1 comments

i try use react-ramdom-reaveal on nextjs with react version 18 but it's not working. I use it before and I like it

NPham1402 avatar Jul 03 '23 06:07 NPham1402

You will need to add use client on the top of the file you use it.

vydimitrov avatar Jul 17 '24 10:07 vydimitrov