Fix hr in Context menu having the same key

This commit is contained in:
Eric NGUYEN 2022-10-18 14:56:49 +02:00
parent b1b30e8486
commit 639480678d

View file

@ -138,7 +138,7 @@ function AddClassSpecificActions(
shortcut={action.shortcut}
onClick={() => action.action(target)} />);
});
children.push(<hr className='border-slate-400' />);
children.push(<hr key={`contextmenu-hr-${count}`} className='border-slate-400' />);
};
return count;
}