This commit is contained in:
ACoolName 2024-05-31 23:46:38 +03:00
parent fe72fcc08e
commit 27488b6b3f

View File

@ -300,8 +300,7 @@ export function ActionGroup(p: { actions: ActionInfo[], identifierSubstring?: st
event: React.MouseEvent<HTMLLIElement, MouseEvent>, event: React.MouseEvent<HTMLLIElement, MouseEvent>,
index: number, index: number,
) => { ) => {
// setSelectedIndex(index); setSelectedIndex(index);
actionItems[index].props.onClick();
setOpen(false) setOpen(false)
}; };