Appearance
@swapped/connect-sdk / react / useMaintenance
Function: useMaintenance()
useMaintenance():
UseMaintenanceResult
Defined in: src/react/session/hooks/useMaintenance.ts:34
Subscribe to the current maintenance status.
For screen routing, prefer useSessionView (SessionViewType.Maintenance). Use this hook when you need the maintenance message for display.