Remove visible from props to remove error
This commit is contained in:
parent
4784a8113f
commit
c0cdb91178
1 changed files with 1 additions and 1 deletions
|
|
@ -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(() => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue