This commit is contained in:
ACoolName 2024-05-31 23:29:54 +03:00
parent ec2c444f21
commit fe72fcc08e

View File

@ -300,7 +300,8 @@ 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)
}; };