From 95e884cdc539357a88098987e2b6a6aa2bf346fe Mon Sep 17 00:00:00 2001 From: Thomas Ruoff Date: Mon, 9 Jan 2023 00:52:22 +0100 Subject: [PATCH] required is optional --- components/inputWrapper.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/inputWrapper.tsx b/components/inputWrapper.tsx index 2344455..6881d8c 100644 --- a/components/inputWrapper.tsx +++ b/components/inputWrapper.tsx @@ -4,7 +4,7 @@ import Required from './required' export default function Input(props: { label: string name?: string - required: boolean + required?: boolean children: React.ReactNode }) { const { label, name, required, children } = props @@ -24,4 +24,4 @@ export default function Input(props: { ) -} +} \ No newline at end of file