From 510d8037b397cb825c7f64044106291b5ef56355 Mon Sep 17 00:00:00 2001 From: Nicola Benaglia Date: Sun, 20 Apr 2025 16:15:17 +0200 Subject: [PATCH] Remove unused method --- src/components/PasswordField/PasswordField.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/PasswordField/PasswordField.tsx b/src/components/PasswordField/PasswordField.tsx index 31f0a49..b59538e 100644 --- a/src/components/PasswordField/PasswordField.tsx +++ b/src/components/PasswordField/PasswordField.tsx @@ -4,7 +4,6 @@ import { TextField, TextFieldProps, styled, - useTheme, } from '@mui/material'; import { forwardRef, useState } from 'react'; import VisibilityOffIcon from '@mui/icons-material/VisibilityOff'; @@ -52,7 +51,6 @@ export const CustomInput = styled(TextField)(({ theme }) => ({ export const PasswordField = forwardRef( ({ ...props }, ref) => { const [canViewPassword, setCanViewPassword] = useState(false); - const theme = useTheme(); return (