Skip to content

Commit 0b70a04

Browse files
committed
ci(wrapper): run linter
1 parent c6bf362 commit 0b70a04

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

jsHelper/spicetifyWrapper.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1746,9 +1746,7 @@ Spicetify.ContextMenuV2 = (() => {
17461746

17471747
class ItemSubMenu {
17481748
static itemsToComponents = (items, props, trigger, target) => {
1749-
return items
1750-
.filter((item) => (item.shouldAdd || (() => true))?.(props, trigger, target))
1751-
.map((item) => item._element);
1749+
return items.filter((item) => (item.shouldAdd || (() => true))?.(props, trigger, target)).map((item) => item._element);
17521750
};
17531751

17541752
constructor({ text, disabled = false, leadingIcon, divider, items, shouldAdd = () => true }) {

0 commit comments

Comments
 (0)