useLocalStorage
Custom hook for type-safe localStorage access with cross-tab sync.
Custom hook for type-safe localStorage access with cross-tab sync.
import { useLocalStorage } from "@tetherto/mdk-react-adapter";Signature
(key: string, defaultValue: T) => [T, (value: T | ((prev: T) => T)) => void, VoidFunction]| Package | @tetherto/mdk-react-adapter |
| Requires provider | No |
useLiveActions
Polls `GET /auth/actions` every 5 s (`voting`, `ready`, `executing`, `done`). Partitions results into the current user's actions vs others', and gates `other…
useMinerDetail
Reads the miner selection the `useExplorerSelection` bridge writes into `devicesStore` and shapes the head miner for the read-only cards of the miner detail …