[I am creating a sign-up page for our web app. The problem is, as I want the user to redirect to another page after signing up, the firebase won't read this line
set(ref(database, 'users/' + user.uid),{
name: name,
email: email,
number: number
})
it move to read this line.
window.location = "home.html";
})
]1