From a5023f83f780968ede00c1a3cbfc966cb81d6a98 Mon Sep 17 00:00:00 2001 From: hannesrudolph Date: Mon, 16 Jun 2025 09:50:05 -0600 Subject: [PATCH] fix: use any type for VSCodeCheckbox onChange handler to match existing pattern --- webview-ui/src/components/settings/DiagnosticsSettings.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/webview-ui/src/components/settings/DiagnosticsSettings.tsx b/webview-ui/src/components/settings/DiagnosticsSettings.tsx index 6088f7d7b2..23e9e0372f 100644 --- a/webview-ui/src/components/settings/DiagnosticsSettings.tsx +++ b/webview-ui/src/components/settings/DiagnosticsSettings.tsx @@ -48,9 +48,7 @@ export const DiagnosticsSettings = ({
- setCachedStateField("includeDiagnostics", (e.target as HTMLInputElement).checked) - } + onChange={(e: any) => setCachedStateField("includeDiagnostics", e.target.checked)} data-testid="include-diagnostics-checkbox">