From dc861eca7d78a8a609b7fed8b6b8b7ce7aa2c420 Mon Sep 17 00:00:00 2001 From: MystiPanda Date: Thu, 18 Jul 2024 23:37:54 +0800 Subject: [PATCH] chore: remove unnecessary console log --- src/components/setting/mods/network-interface-viewer.tsx | 1 - src/services/cmds.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/src/components/setting/mods/network-interface-viewer.tsx b/src/components/setting/mods/network-interface-viewer.tsx index e8771f5..a38ea17 100644 --- a/src/components/setting/mods/network-interface-viewer.tsx +++ b/src/components/setting/mods/network-interface-viewer.tsx @@ -24,7 +24,6 @@ export const NetworkInterfaceViewer = forwardRef((props, ref) => { useEffect(() => { if (!open) return; getNetworkInterfacesInfo().then((res) => { - console.log(res); setNetworkInterfaces(res); }); }, [open]); diff --git a/src/services/cmds.ts b/src/services/cmds.ts index 37ae6b5..c7937c2 100644 --- a/src/services/cmds.ts +++ b/src/services/cmds.ts @@ -202,7 +202,6 @@ export async function checkService() { } export async function installService(passwd: string) { - console.log(passwd); return invoke("install_service", { passwd }); }