fix: add missing key to top menu items
This commit is contained in:
parent
793422878d
commit
a28b434bca
|
@ -170,7 +170,7 @@ export const TopMenu = function(props: { onClick?: () => void }) {
|
|||
);
|
||||
}
|
||||
if (mainView === 'MAIN') {
|
||||
menuItems.push(<Divider />);
|
||||
menuItems.push(<Divider key="action-divider" />);
|
||||
menuItems.push(
|
||||
<MenuItem key="allowFullWidth" onClick={handleAllowFullWidth}>
|
||||
<ListItemIcon className={classes.listItemIcon}>
|
||||
|
@ -208,7 +208,7 @@ export const TopMenu = function(props: { onClick?: () => void }) {
|
|||
);
|
||||
}
|
||||
if (mainView === 'MAIN') {
|
||||
menuItems.push(<Divider />);
|
||||
menuItems.push(<Divider key="feature-divider" />);
|
||||
}
|
||||
menuItems.push(
|
||||
<MenuItem key="about" onClick={handleShowAbout}>
|
||||
|
|
Loading…
Reference in New Issue