After calling const navigate = useNavigate(), you navigate to another route by calling navigate('/dashboard').
Question 3 of 20 in useNavigate Quiz