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(() => {
|
useEffect(() => {
|
||||||
if (authToken) {
|
if (authToken) {
|
||||||
navigate("/monitors");
|
navigate("/uptime");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
networkService
|
networkService
|
||||||
@@ -108,7 +108,7 @@ const Login = () => {
|
|||||||
} else {
|
} else {
|
||||||
const action = await dispatch(login(form));
|
const action = await dispatch(login(form));
|
||||||
if (action.payload.success) {
|
if (action.payload.success) {
|
||||||
navigate("/monitors");
|
navigate("/uptime");
|
||||||
createToast({
|
createToast({
|
||||||
body: "Welcome back! You're successfully logged in.",
|
body: "Welcome back! You're successfully logged in.",
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user