aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/Settings.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Settings.tsx b/src/components/Settings.tsx
index 56c97cb..7756902 100644
--- a/src/components/Settings.tsx
+++ b/src/components/Settings.tsx
@@ -127,7 +127,7 @@ export default ErrorBoundary.wrap(function Settings() {
disabled={p.required || dependency}
key={p.name}
value={settings.plugins[p.name].enabled || p.required || dependency}
- onChange={v => {
+ onChange={(v: boolean) => {
settings.plugins[p.name].enabled = v;
let needsRestart = Boolean(p.patches?.length);
if (v) {