Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
FedeIlLeone committed Oct 20, 2024
1 parent b568602 commit da60276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/coremods/contextMenu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export function addContextMenuItem(
): () => void {
menuItems[navId] ||= [];

menuItems[navId].push({ getItem, sectionId, indexInSection });
menuItems[navId]?.push({ getItem, sectionId, indexInSection });
return () => removeContextMenuItem(navId, getItem);
}

Expand Down

0 comments on commit da60276

Please sign in to comment.