useSession(): object
Defined in: packages/modelence/src/client/session.ts:110
useSession is a hook that returns the current user, and in the future will also return other details about the current session.
Example
Returns
object
| Name | Type | Defined in |
|---|---|---|
user | null | User | packages/modelence/src/client/session.ts:112 |