Hello how can I set username on Signup for Firebase User. I use firebase Authentication API. I thought about try / catch block and setting User properties like
const user = auth.currentUser;
user.name = 'John123'
Is it possible?
const onSubmitHandler = (e: React.FormEvent<HTMLFormElement>) => {
e.preventDefault()
createUserWithEmailAndPassword(auth, email, password)
}