Skip to content

Commit

Permalink
feat: adjust types
Browse files Browse the repository at this point in the history
  • Loading branch information
fabio-aiello-appfolio committed Sep 27, 2023
1 parent bff68a3 commit 743a0fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Combobox/Combobox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ function Combobox<T>({
data-testid="combobox-caret"
disabled={disabled}
active={open}
onMouseDown={(ev) => {
onMouseDown={(ev: React.MouseEvent<HTMLButtonElement>) => {
ev.stopPropagation();
setOpen(!open);
}}
Expand Down
2 changes: 1 addition & 1 deletion src/components/HasManyFields/HasManyFieldsRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const HasManyFieldsRow = ({
<Button
id={id}
color="danger"
onClick={(e) => e.preventDefault()}
onClick={(e: React.MouseEvent<HTMLButtonElement>) => e.preventDefault()}
outline
className="p-2 disabled align-self-stretch"
>
Expand Down

0 comments on commit 743a0fb

Please sign in to comment.