diff --git a/src/Web/autopilot-monitor-web/app/settings/components/HardwareRejectionInsights.tsx b/src/Web/autopilot-monitor-web/app/settings/components/HardwareRejectionInsights.tsx index cda22669..2423b64b 100644 --- a/src/Web/autopilot-monitor-web/app/settings/components/HardwareRejectionInsights.tsx +++ b/src/Web/autopilot-monitor-web/app/settings/components/HardwareRejectionInsights.tsx @@ -43,6 +43,45 @@ function formatDate(iso: string): string { } } +function WebhookToggle({ + checked, + onChange, + hasWebhook, +}: { + checked: boolean; + onChange: (value: boolean) => void; + hasWebhook: boolean; +}) { + return ( +