Remove visible from props to remove error

This commit is contained in:
Justin Edmund 2023-01-08 01:31:56 -08:00
parent 4784a8113f
commit c0cdb91178

View file

@ -26,7 +26,7 @@ const LabelledInput = React.forwardRef<HTMLInputElement, Props>(function Input(
// Classes
const classes = classNames({ Input: true }, props.className)
const { defaultValue, ...inputProps } = props
const { defaultValue, visible, ...inputProps } = props
// Change value when prop updates
useEffect(() => {