web/SettingsCheckbox: remove yassing

This commit is contained in:
wukko 2024-06-25 21:06:07 +06:00
parent 635561394c
commit 98b0a2f10a
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -23,14 +23,13 @@
<button <button
id="setting-button-{settingContext}-{String(settingId)}" id="setting-button-{settingContext}-{String(settingId)}"
class="checkbox-container" class="checkbox-container"
on:click={() => { on:click={() =>
updateSetting({ updateSetting({
[settingContext]: { [settingContext]: {
[settingId]: !isChecked, [settingId]: !isChecked,
}, },
}); })
console.log("yass", !isChecked); }
}}
> >
<div class="checkbox" class:checked={isChecked}> <div class="checkbox" class:checked={isChecked}>
<div class="checkbox-icon"> <div class="checkbox-icon">