Openstatus www.openstatus.dev

fix: delete monitor (#949)

* fix: delete monitor

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

authored by

Maximilian Kaske
autofix-ci[bot]
and committed by
GitHub
3d959807 93b151f2

+1 -1
+1 -1
apps/web/src/components/forms/monitor/section-danger.tsx
··· 44 44 try { 45 45 await api.monitor.delete.mutate({ id: monitorId }); 46 46 toastAction("deleted"); 47 - router.refresh(); 48 47 setOpen(false); 48 + router.push("/app"); 49 49 } catch { 50 50 toastAction("error"); 51 51 }