Fix links in login page

This commit is contained in:
Alex Holliday committed 2024-12-17 13:10:28 -08:00
1 parent 7d1e7ccb94
commit a507e1282e
1 file changed
+2 -2
+2 -2
View File
@@ -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.",
}); });