Skip to content

Commit

Permalink
Remove unneeded filter on menu array
Browse files Browse the repository at this point in the history
Rendered unnecessary by electron/electron#13992
  • Loading branch information
mirka committed Jan 24, 2019
1 parent a0894e0 commit 90a94e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desktop/menus/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function createMenuTemplate(settings) {
formatMenu,
platform.isOSX() ? windowMenu : null,
helpMenu,
].filter(menu => menu !== null);
];
}

module.exports = createMenuTemplate;

0 comments on commit 90a94e7

Please sign in to comment.