From 2585107bd730752728151a16a7eeae583e4e3e21 Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Tue, 28 Jan 2025 10:56:10 +0100 Subject: [PATCH] ui: simplify saving for debug --- frontend/app/components/Client/DebugLog.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/app/components/Client/DebugLog.tsx b/frontend/app/components/Client/DebugLog.tsx index ff3311530..0a5f8f292 100644 --- a/frontend/app/components/Client/DebugLog.tsx +++ b/frontend/app/components/Client/DebugLog.tsx @@ -17,8 +17,7 @@ function DebugLog() { const onChange = (checked: boolean) => { setShowLogs(checked) - options.verbose = checked - localStorage.setItem(KEY, JSON.stringify(options)) + options.logStuff(checked) } return (