ui: simplify saving for debug
This commit is contained in:
parent
bd80b7fccd
commit
2585107bd7
1 changed files with 1 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue