Fix hr in Context menu having the same key
This commit is contained in:
parent
b1b30e8486
commit
639480678d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue