From 36cbb5d7e1e58cabfac0749bb5f35d1e780bc49e Mon Sep 17 00:00:00 2001 From: Fred <98240+farnoux@users.noreply.github.com> Date: Fri, 18 Oct 2024 10:52:35 +0200 Subject: [PATCH] fix typing --- packages/site/app/contact/ContactForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/site/app/contact/ContactForm.tsx b/packages/site/app/contact/ContactForm.tsx index aa7f5850b6..e89c022bd2 100644 --- a/packages/site/app/contact/ContactForm.tsx +++ b/packages/site/app/contact/ContactForm.tsx @@ -59,7 +59,7 @@ const ContactForm = () => { }); }; - const handleChangeSelect = (value: OptionValue) => { + const handleChangeSelect = (value?: OptionValue) => { const categorie = options.find((opt) => opt.options.some((o) => o.value === value) );