Skip to Content

useUser

The useUser hook is a React hook that returns the currently logged-in user or null if the user is not logged-in.

Usage

const user = useUser()

Parameters

No parameters

Returns

User