React-router-UseNavigate

Direct access is not allowed!