web / lib/hooks/use-legal-notices
lib/hooks/use-legal-notices
React Query hook for accessing legal notice configuration.
Provides cached access to legal page URLs and the optional registration disclaimer for display on the registration form.
Interfaces
LegalNotices
Properties
termsUrl
termsUrl:
string|null
privacyUrl
privacyUrl:
string|null
registrationDisclaimer
registrationDisclaimer:
string|null
Functions
useLegalNotices()
useLegalNotices():
UseQueryResult<LegalNotices,Error>
Returns
UseQueryResult<LegalNotices, Error>
Last updated on