refactor: avoid repetition of the protected routes component

This commit is contained in:
Caio Cabral committed 2024-12-12 08:24:10 -05:00
1 parent 66dc6dbc1a
commit a70e96f1f3
3 files changed
+26 -32

No files matched your search

+1
View File
@@ -367,6 +367,7 @@ StepTwo.propTypes = {
};
const Login = () => {
console.log("login");
const dispatch = useDispatch();
const navigate = useNavigate();
const theme = useTheme();