Skip to content

Commit ead9856

Browse files
committed
correct eslint errors
1 parent 0aec78e commit ead9856

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

frontend/src/components/PasswordTextField/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const PasswordTextField: React.FC<PasswordTextFieldProps> = ({
4545
//to listen to other password input changes
4646
useEffect(() => {
4747
setValidity(!(validatePasswordError(passwordVal, password) || comparePasswordError(isMatch, password, passwordToMatch) || checkEmptyError(password)));
48-
}, [passwordToMatch, setValidity]);
48+
}, [passwordVal, isMatch, password, passwordToMatch, setValidity]);
4949

5050

5151
const [showPassword, setShowPassword] = useState<boolean>(false);

frontend/src/components/ProfileSection/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import { Avatar, Box, Button, Divider, Stack, Typography } from "@mui/material";
22
import React from "react";
3-
import ChangePasswordModal from "../ChangePasswordModal";
4-
import EditProfileModal from "../EditProfileModal";
53

64
type ProfileSectionProps = {
75
firstName: string;

0 commit comments

Comments
 (0)