I'm trying to use `focus()` but it gives me `Error: ....current.focus is not a function (it is undefined)`