mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-15 13:18:40 -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));
|
Menu.setApplicationMenu(AppMenu.buildMenu(menu));
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue