Skip to content

react-query-firebase / auth / useAuth

Function: useAuth()

ts
function useAuth(): Auth

Defined in: src/auth/useAuth.ts:9

Custom hook to retrieve the authentication object from the Firebase context.

Returns

Auth

The authentication object from the Firebase context.

Released under the MIT License.