From 2bb3498602ef0f589713479ea7b5750ab339b3d6 Mon Sep 17 00:00:00 2001 From: huzibaca Date: Tue, 29 Oct 2024 09:19:21 +0800 Subject: [PATCH] chore: disable websocket logging by default to reduce performance consumption. --- src/services/states.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/states.ts b/src/services/states.ts index 4ea4629..7f4c3ba 100644 --- a/src/services/states.ts +++ b/src/services/states.ts @@ -5,7 +5,7 @@ const [ThemeModeProvider, useThemeMode, useSetThemeMode] = createContextState< "light" | "dark" >("light"); -export const useEnableLog = () => useLocalStorage("enable-log", true); +export const useEnableLog = () => useLocalStorage("enable-log", false); interface IConnectionSetting { layout: "table" | "list";