Something went wrong. Try again.
Mirror — see github.com/blacksky-algorithms/blacksky.community
Something went wrong. Try again.
12345678910import {useMaybeProfileShadow} from '#/state/cache/profile-shadow'import {useProfileQuery} from '#/state/queries/profile'import {useSession} from '#/state/session'
export function useCurrentAccountProfile() { const {currentAccount} = useSession() const {data: profile} = useProfileQuery({did: currentAccount?.did}) return useMaybeProfileShadow(profile)}