useNavigate returns a navigate function. You call that function with a path or history delta to move the user to another location.
Question 2 of 20 in useNavigate Quiz