Bluesky app fork with some witchin' additions 馃挮 witchsky.app
bluesky fork client
at feat/custom-appview 9 lines 364 B view raw
1import {useMaybeProfileShadow} from '#/state/cache/profile-shadow' 2import {useProfileQuery} from '#/state/queries/profile' 3import {useSession} from '#/state/session' 4 5export function useCurrentAccountProfile() { 6 const {currentAccount} = useSession() 7 const {data: profile} = useProfileQuery({did: currentAccount?.did}) 8 return useMaybeProfileShadow(profile) 9}