update usePatch, implement actions

This commit is contained in:
Alex Holliday committed 2025-10-08 14:28:51 -07:00
1 parent aae1fefb31
commit f9d0ab5e07
7 files changed
+181 -131

No files matched your search

@@ -50,7 +50,7 @@ export const HeaderControls = ({
<Button
loading={isPatching}
onClick={async () => {
await patch();
await patch(`/monitors/${monitor._id}/active`);
refetch();
}}
startIcon={