Returns a Tanstack useQuery object for fetching the current user's Account.
useQuery
const { isPending, data: user } = useAccount(); Copy
const { isPending, data: user } = useAccount();
Returns a Tanstack
useQuery
object for fetching the current user's Account.