The replace() method on the history object is used to replace the current route.
Question 5 of 20 in useHistory Quiz