aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-10-09 22:58:08 +0200
committerVendicated <vendicated@riseup.net>2022-10-09 22:58:08 +0200
commita89e17a3904cce8b7c9a70519e275fe9364526ae (patch)
treecd611a02618ac9aa59af7633ee35d96926251e68 /src/components
parent5610df8b3707fd8405764b903cb3f829571075ac (diff)
downloadVencord-a89e17a3904cce8b7c9a70519e275fe9364526ae.tar.gz
Vencord-a89e17a3904cce8b7c9a70519e275fe9364526ae.tar.bz2
Vencord-a89e17a3904cce8b7c9a70519e275fe9364526ae.zip
Make typescript happy, tsc test run in CI
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) {