I created a method that makes the user to be redirected somewhere by using the history.push() but I couldn’t, then I tried using the useNavigate but it still didn’t work. Please what can I do.