feat: run prettier

This commit is contained in:
JellyBrick
2023-11-30 11:59:27 +09:00
parent 44c42310f1
commit a3104fda4b
116 changed files with 2928 additions and 1254 deletions

View File

@ -12,7 +12,10 @@ import type { MenuTemplate } from './menu';
// Prevent tray being garbage collected
let tray: Electron.Tray | undefined;
type TrayEvent = (event: Electron.KeyboardEvent, bounds: Electron.Rectangle) => void;
type TrayEvent = (
event: Electron.KeyboardEvent,
bounds: Electron.Rectangle,
) => void;
export const setTrayOnClick = (fn: TrayEvent) => {
if (!tray) {