From 743a0fbf2b171bc2e651d9e798ebc67bb11343bd Mon Sep 17 00:00:00 2001 From: Fabio Aiello Date: Wed, 27 Sep 2023 14:09:39 -0700 Subject: [PATCH] feat: adjust types --- src/components/Combobox/Combobox.tsx | 2 +- src/components/HasManyFields/HasManyFieldsRow.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Combobox/Combobox.tsx b/src/components/Combobox/Combobox.tsx index 8f9f5fb97..a0521df80 100644 --- a/src/components/Combobox/Combobox.tsx +++ b/src/components/Combobox/Combobox.tsx @@ -411,7 +411,7 @@ function Combobox({ data-testid="combobox-caret" disabled={disabled} active={open} - onMouseDown={(ev) => { + onMouseDown={(ev: React.MouseEvent) => { ev.stopPropagation(); setOpen(!open); }} diff --git a/src/components/HasManyFields/HasManyFieldsRow.tsx b/src/components/HasManyFields/HasManyFieldsRow.tsx index 06729526a..9b0f1c589 100644 --- a/src/components/HasManyFields/HasManyFieldsRow.tsx +++ b/src/components/HasManyFields/HasManyFieldsRow.tsx @@ -53,7 +53,7 @@ const HasManyFieldsRow = ({