useRackLayout
Fetches the rack structure for a worker type from `GET /auth/list-racks` (`type` is required — the backend 400s with `ERR_TYPE_INVALID` without it). Feeds th…
Fetches the rack structure for a worker type from `GET /auth/list-racks` (`type` is required — the backend 400s with `ERR_TYPE_INVALID` without it). Feeds the Explorer rack grouping.
import { useRackLayout } from "@tetherto/mdk-react-adapter";Signature
(params: UseRackLayoutParams, options: UseRackLayoutOptions = {}) => UseRackLayoutResult| Package | @tetherto/mdk-react-adapter |
| Requires provider | No |