Fix merge conflict, remove unused dispatch

This commit is contained in:
Alex Holliday committed 2025-01-08 10:05:34 -08:00
1 parent a4989d3e95
commit ef56283fa9
4 files changed
+1 -19

No files matched your search

@@ -11,7 +11,6 @@ import {
updateUptimeMonitor,
pauseUptimeMonitor,
getUptimeMonitorById,
getUptimeSummaryByTeamId,
deleteUptimeMonitor,
} from "../../../Features/UptimeMonitors/uptimeMonitorsSlice";
import TextInput from "../../../Components/Inputs/TextInput";
@@ -157,7 +156,6 @@ const Configure = () => {
const action = await dispatch(updateUptimeMonitor({ authToken, monitor: monitor }));
if (action.meta.requestStatus === "fulfilled") {
createToast({ body: "Monitor updated successfully!" });
dispatch(getUptimeSummaryByTeamId(authToken));
} else {
createToast({ body: "Failed to update monitor." });
}