mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
Use optional chaining
Signed-off-by: Philip Peterson <1326208+philip-peterson@users.noreply.github.com>
This commit is contained in:
parent
ed8b42b56c
commit
88cbfd0607
1 changed files with 1 additions and 1 deletions
|
|
@ -190,7 +190,7 @@ app.on('ready', () =>
|
|||
}
|
||||
}
|
||||
]);
|
||||
app.dock.setMenu(dockMenu);
|
||||
app.dock?.setMenu(dockMenu);
|
||||
}
|
||||
|
||||
Menu.setApplicationMenu(AppMenu.buildMenu(menu));
|
||||
|
|
|
|||
Loading…
Reference in a new issue