Closed cyu72 closed 1 year ago
It doesn't work properly, state does not change.
fixed with useRef, allowing for new value to be taken from the current value
It doesn't work properly, state does not change.