From 854e9ede3195227b289de87c372aba0d0ff1ec0f Mon Sep 17 00:00:00 2001 From: MathieuG-P <40181755+Zagrios@users.noreply.github.com> Date: Thu, 26 May 2022 22:30:10 +0200 Subject: [PATCH] remove console log --- src/main/ipcs/window-controls-ipcs.ts | 1 - src/renderer/components/modal/modal.component.tsx | 4 ---- 2 files changed, 5 deletions(-) diff --git a/src/main/ipcs/window-controls-ipcs.ts b/src/main/ipcs/window-controls-ipcs.ts index 05a1fe34..9e473856 100644 --- a/src/main/ipcs/window-controls-ipcs.ts +++ b/src/main/ipcs/window-controls-ipcs.ts @@ -14,6 +14,5 @@ ipcMain.on('window.minimize', async () => { }); ipcMain.on('window.reset', async () => { - console.log('aaaaaa'); getMainWindow()?.restore(); }); diff --git a/src/renderer/components/modal/modal.component.tsx b/src/renderer/components/modal/modal.component.tsx index 9537682b..0f1af3cc 100644 --- a/src/renderer/components/modal/modal.component.tsx +++ b/src/renderer/components/modal/modal.component.tsx @@ -12,13 +12,9 @@ export function Modal() { const modalSevice = ModalService.getInsance(); - console.log(`modal type: ${modalType}`); - useEffect(() => { modalSevice.modalType$.subscribe(type => { setModalType(type); - console.log("*** open modal ***"); - console.log("*** open type: "+type+" ***") }) }, [])