refactor: avoid repetition of the protected routes component
This commit is contained in:
1 parent
66dc6dbc1a
commit
a70e96f1f3
3 files changed
+26
-32
No files matched your search
@@ -367,6 +367,7 @@ StepTwo.propTypes = {
|
||||
};
|
||||
|
||||
const Login = () => {
|
||||
console.log("login");
|
||||
const dispatch = useDispatch();
|
||||
const navigate = useNavigate();
|
||||
const theme = useTheme();
|
||||
|
||||
Reference in new issue
Block a user