useCurrentUserEmail
Fetches `/auth/userinfo` and returns the current user's email. Used by `useLiveActions` to partition actions into "mine vs others".
Fetches `/auth/userinfo` and returns the current user's email. Used by `useLiveActions` to partition actions into "mine vs others".
import { useCurrentUserEmail } from "@tetherto/mdk-react-adapter";Signature
() => string | undefined| Package | @tetherto/mdk-react-adapter |
| Requires provider | No |
useCurrentAlertDevices
TanStack Query hook returning the **raw** devices that currently carry one or more alerts, as the nested `ListThingsDevice[][]` the devkit `Alerts` / `Curren…
useDashboardDateRange
Owns the single source of truth for the dashboard's date-range picker. Pass `start` / `end` from the return value into every data hook on the page (`useHashr…