Function: removeMonitorFromSite()
Defined in: src/stores/sites/utils/monitorOperations.ts:976
Removes a monitor from a site.
Parametersโ
siteโ
The site to remove the monitor from.
monitorIdโ
string
The ID of the monitor to remove.
Returnsโ
Updated site without the specified monitor.
Exampleโ
const updatedSite = removeMonitorFromSite(site, "monitor-123");