diff --git a/frontend/src/components/LoginCard.tsx b/frontend/src/components/LoginCard.tsx index 196eeac..6dfcbc5 100644 --- a/frontend/src/components/LoginCard.tsx +++ b/frontend/src/components/LoginCard.tsx @@ -20,7 +20,6 @@ export const LoginCard = () => { }); useEffect(() => { - console.log(search); if (search.loggedOut) { setAlert({ isAlert: true, diff --git a/frontend/src/components/modals/ChangePasswordModal.tsx b/frontend/src/components/modals/ChangePasswordModal.tsx index 3ab692b..c088c80 100644 --- a/frontend/src/components/modals/ChangePasswordModal.tsx +++ b/frontend/src/components/modals/ChangePasswordModal.tsx @@ -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 !== "" diff --git a/frontend/src/hooks/useLogout.ts b/frontend/src/hooks/useLogout.ts index b05239f..474fa79 100644 --- a/frontend/src/hooks/useLogout.ts +++ b/frontend/src/hooks/useLogout.ts @@ -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 } }); }; diff --git a/package-lock.json b/package-lock.json index 61a8cb0..45eaf48 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6331,19 +6331,6 @@ "integrity": "sha512-kZFnouyVv7eP/Phmrlo9FK+zcAdriZJvzxXHF1Sl1P377WSGe2G/JxVolhTrB/jeV47lKImhNUsijjHAAbcl/A==", "license": "MIT" }, - "node_modules/react-toastify": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/react-toastify/-/react-toastify-11.1.0.tgz", - "integrity": "sha512-e9h23x3phN0wbFeB6yovmWp7lobzV4CaCH0LO8nVP6H7Y+3GbcLpIzMm9dJhcp1RXbpyfvjgpfXqO80QAmn7sg==", - "license": "MIT", - "dependencies": { - "clsx": "^2.1.1" - }, - "peerDependencies": { - "react": "^18 || ^19", - "react-dom": "^18 || ^19" - } - }, "node_modules/react-transition-group": { "version": "4.4.5", "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz",