MDK Logo
ReferenceUI KitReactHooks

useSite

Fetches the configured site label from `GET /auth/site`. Static deployment config — fetched once per session, no polling.

Fetches the configured site label from `GET /auth/site`. Static deployment config — fetched once per session, no polling.

import { useSite } from "@tetherto/mdk-react-adapter";

Signature

(options: UseSiteOptions = {}) => UseSiteResult
Package@tetherto/mdk-react-adapter
Requires providerNo