I\'m trying to focus a text input field once the user clicks a button. The code looks as follows:
const refName = React.useRef(); const changeFocus = () => {