update usePatch, implement actions
This commit is contained in:
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={
|
||||
|
||||
Reference in new issue
Block a user