Skip to main content

Function: AuthProvider()

AuthProvider(__namedParameters): Element

Defined in: web/lib/auth/auth-context.tsx:144

Authentication provider component.

Parameters​

__namedParameters​

AuthProviderProps

Returns​

Element

Remarks​

Wraps the app to provide authentication state and actions. Should be placed near the root of the component tree, above QueryProvider.

Example​

<AuthProvider>
<QueryProvider>
<App />
</QueryProvider>
</AuthProvider>