refactor: delete console logs and unused node modules

This commit is contained in:
2026-07-10 11:54:12 +02:00
parent e2a7d2e560
commit bde647aa08
4 changed files with 8 additions and 18 deletions
-1
View File
@@ -20,7 +20,6 @@ export const LoginCard = () => {
});
useEffect(() => {
console.log(search);
if (search.loggedOut) {
setAlert({
isAlert: true,
@@ -1,4 +1,11 @@
import { Button, DialogTitle, Input, Modal, ModalDialog, Stack, } from "@mui/joy";
import {
Button,
DialogTitle,
Input,
Modal,
ModalDialog,
Stack,
} from "@mui/joy";
import { useForm } from "@tanstack/react-form";
import { useMutation } from "@tanstack/react-query";
import { useTranslation } from "react-i18next";
@@ -30,8 +37,6 @@ export const ChangePasswordModal = (props: ChangePasswordProps) => {
newPasswordRep: "",
},
onSubmit: async ({ value }) => {
console.log(value);
if (
value.newPassword === value.newPasswordRep &&
value.newPassword !== ""
-1
View File
@@ -5,7 +5,6 @@ export const useLogout = () => {
const navigate = useNavigate();
const logout = () => {
console.log("LOGOUT");
Cookies.remove("token");
void navigate({ to: "/login", search: { loggedOut: true } });
};