ui: simplify saving for debug

This commit is contained in:
nick-delirium 2025-01-28 10:56:10 +01:00
parent bd80b7fccd
commit 2585107bd7
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0

View file

@ -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 (
<div>