Function useAccount

Returns a Tanstack useQuery object for fetching the current user's Account.

const { isPending, data: user } = useAccount();