useActiveIncidents
TanStack Query hook returning the list of currently-firing alerts, shaped for `ActiveIncidentsCard items=...`.
TanStack Query hook returning the list of currently-firing alerts, shaped for `<ActiveIncidentsCard items={...} />`.
import { useActiveIncidents } from "@tetherto/mdk-react-adapter";Signature
(options: UseActiveIncidentsOptions = {}) => UseQueryResult<IncidentRow[], Error>| Package | @tetherto/mdk-react-adapter |
| Requires provider | No |