Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
fix: delete monitor (#949)
Maximilian Kaske3d9598079a2c
diff --git a/apps/web/src/components/forms/monitor/section-danger.tsx b/apps/web/src/components/forms/monitor/section-danger.tsxindex 8fd6cee7c..35bcd1981 100644--- a/apps/web/src/components/forms/monitor/section-danger.tsx+++ b/apps/web/src/components/forms/monitor/section-danger.tsx@@ -44,8 +44,8 @@ export function SectionDanger({ monitorId, form }: Props) {try {await api.monitor.delete.mutate({ id: monitorId });toastAction("deleted");- router.refresh();setOpen(false);+ router.push("/app");} catch {toastAction("error");}