Skip to content

Commit 8b372b7

Browse files
committed
fix
1 parent 03e1308 commit 8b372b7

File tree

1 file changed

+3
-3
lines changed
  • packages/mui-material/src/Chip

1 file changed

+3
-3
lines changed

packages/mui-material/src/Chip/Chip.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -531,15 +531,15 @@ const Chip = React.forwardRef(function Chip(inProps, ref) {
531531
...handlers,
532532
onClick: (event) => {
533533
handlers.onClick?.(event);
534-
onClick(event);
534+
onClick?.(event);
535535
},
536536
onKeyDown: (event) => {
537537
handlers.onKeyDown?.(event);
538-
handleKeyDown(event);
538+
handleKeyDown?.(event);
539539
},
540540
onKeyUp: (event) => {
541541
handlers.onKeyUp?.(event);
542-
handleKeyUp(event);
542+
handleKeyUp?.(event);
543543
},
544544
}),
545545
});

0 commit comments

Comments
 (0)