Fix links in login page
This commit is contained in:
1 parent
7d1e7ccb94
commit
a507e1282e
1 file changed
+2
-2
@@ -42,7 +42,7 @@ const Login = () => {
|
||||
|
||||
useEffect(() => {
|
||||
if (authToken) {
|
||||
navigate("/monitors");
|
||||
navigate("/uptime");
|
||||
return;
|
||||
}
|
||||
networkService
|
||||
@@ -108,7 +108,7 @@ const Login = () => {
|
||||
} else {
|
||||
const action = await dispatch(login(form));
|
||||
if (action.payload.success) {
|
||||
navigate("/monitors");
|
||||
navigate("/uptime");
|
||||
createToast({
|
||||
body: "Welcome back! You're successfully logged in.",
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user