refactor: sonar issues

This commit is contained in:
Hachi-R
2025-01-30 03:08:19 -03:00
parent 13eeb2cee7
commit afcd99a6fd
5 changed files with 3 additions and 24 deletions

View File

@@ -23,7 +23,7 @@ import { AuthPage } from "@shared";
export class WindowManager {
public static mainWindow: Electron.BrowserWindow | null = null;
private static editorWindows: Map<string, BrowserWindow> = new Map();
private static readonly editorWindows: Map<string, BrowserWindow> = new Map();
private static loadMainWindowURL(hash = "") {
// HMR for renderer base on electron-vite cli.