We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa50381 commit ca24a52Copy full SHA for ca24a52
src/custom/ActionButton/ActionButton.tsx
@@ -72,7 +72,7 @@ export default function ActionButton({
72
<ClickAwayListener onClickAway={handleClose}>
73
<MenuList id="split-button-menu" autoFocusItem>
74
{options
75
- .filter((option) => option.show !== false)
+ .filter((option) => option?.show !== false)
76
.map((option, index) =>
77
option.isDivider ? (
78
<Divider />
0 commit comments