useCurrentSession

useCurrentSession hook help to retreive current user session.

Example

Return
returnDescriptionTypeDefault
sessionUser information{name?: string, image?: string, id?: string, email?: string}-