mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 05:04:57 +08:00
remove list keys
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
This commit is contained in:
parent
e685f1239d
commit
d3bc7fe806
@ -389,7 +389,7 @@ export default class MessageContextMenu extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const commonItemsList = (
|
const commonItemsList = (
|
||||||
<IconizedContextMenuOptionList key={'group1'}>
|
<IconizedContextMenuOptionList>
|
||||||
{ quoteButton }
|
{ quoteButton }
|
||||||
{ forwardButton }
|
{ forwardButton }
|
||||||
{ pinButton }
|
{ pinButton }
|
||||||
@ -405,7 +405,7 @@ export default class MessageContextMenu extends React.Component {
|
|||||||
|
|
||||||
if (redactButton) {
|
if (redactButton) {
|
||||||
redactItemList = (
|
redactItemList = (
|
||||||
<IconizedContextMenuOptionList key={'group2'} red>
|
<IconizedContextMenuOptionList red>
|
||||||
{ redactButton }
|
{ redactButton }
|
||||||
</IconizedContextMenuOptionList>
|
</IconizedContextMenuOptionList>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user