Dashboard
Hooks that derive dashboard state from device data you already hold
Hooks that project dashboard state from device data you already hold. Nothing here fetches or stores: the category derives its results from the devices you pass in.
Package
@tetherto/mdk-react-adapter
Hooks
@tetherto/mdk-react-adapter
Import the public APIs on this page from @tetherto/mdk-react-adapter.
useGetAvailableDevices
Pure projector turning a flat device list (or the /auth/list-things nested shape) into the two type-buckets the device-explorer toolbar needs.
({ data, }: UseGetAvailableDevicesOptions) => AvailableDevices