I\'m having trouble getting the "set" function of useState to work as I need. I would like to be able to use a keyboard listener to increment a counter, b
useState