Update and resolve test issues

This commit is contained in:
adilallo
2026-02-05 17:45:57 -07:00
parent b012c73e65
commit 794b978aab
12 changed files with 60 additions and 52 deletions
+2 -2
View File
@@ -134,12 +134,12 @@ function ChipView({
.filter(Boolean)
.join(" ");
const handleClick: React.MouseEventHandler<HTMLButtonElement> = (event) => {
const handleClick = (event: React.MouseEvent<HTMLButtonElement | HTMLDivElement>) => {
if (isDisabled) {
event.preventDefault();
return;
}
onClick?.(event);
onClick?.(event as React.MouseEvent<HTMLButtonElement>);
};
const sharedA11y = {