diff --git a/packages/odyssey-react-mui/src/components/TextField/TextField.tsx b/packages/odyssey-react-mui/src/components/TextField/TextField.tsx index 2e98d7ec1c..a4a128a8bd 100644 --- a/packages/odyssey-react-mui/src/components/TextField/TextField.tsx +++ b/packages/odyssey-react-mui/src/components/TextField/TextField.tsx @@ -124,11 +124,11 @@ export const TextField = forwardRef( isReadOnly, isRequired = true, startAdornment, - type: inType = "text", + type: inputType = "text", value, } = props; - const [inputType, setInputType] = useState(inType); + const [inputType, setInputType] = useState(inputType); const togglePasswordVisibility = useCallback(() => { setInputType((currentType) => @@ -153,7 +153,7 @@ export const TextField = forwardRef(