From c0cdb9117803cf1802307f1191dd9ec4561da8cb Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Sun, 8 Jan 2023 01:31:56 -0800 Subject: [PATCH] Remove visible from props to remove error --- components/LabelledInput/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/LabelledInput/index.tsx b/components/LabelledInput/index.tsx index 19931805..57a6b837 100644 --- a/components/LabelledInput/index.tsx +++ b/components/LabelledInput/index.tsx @@ -26,7 +26,7 @@ const LabelledInput = React.forwardRef(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(() => {