Skip to content

Commit

Permalink
undo lint fix change
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmxcdev committed Jul 24, 2023
1 parent aaf73bc commit 87dd4bc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/lib/Menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,8 @@ class FranzMenu implements StoresProps {
},
];

tpl.at(-1).submenu.push(
// eslint-disable-next-line unicorn/prefer-at
(tpl[tpl.length - 1].submenu as MenuItemConstructorOptions[]).push(
{
type: 'separator',
},
Expand All @@ -1028,7 +1029,8 @@ class FranzMenu implements StoresProps {

tpl[5].submenu = this.todosMenu();

tpl.at(-1).submenu.push(
// eslint-disable-next-line unicorn/prefer-at
(tpl[tpl.length - 1].submenu as MenuItemConstructorOptions[]).push(
{
type: 'separator',
},
Expand Down

0 comments on commit 87dd4bc

Please sign in to comment.