From dfe88e165696aeb222aa6d2bd5b7b94ed3eda3f6 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Tue, 19 Mar 2024 14:18:57 -0500 Subject: Use consistent avatar shape/defaults for labelers (#3257) * Add type: labeler to easy spots * Search and ProfileCard * Filter out of suggested follows * ComposeReplyTo * PReviewable avatar in posts * Lists * PostMeta * Notifications * Autocomplete * Straggler * Bump sdk --- src/state/shell/composer.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/state/shell/composer.tsx') diff --git a/src/state/shell/composer.tsx b/src/state/shell/composer.tsx index a09e8fba9..5b4e50543 100644 --- a/src/state/shell/composer.tsx +++ b/src/state/shell/composer.tsx @@ -3,6 +3,7 @@ import { AppBskyEmbedRecord, AppBskyRichtextFacet, ModerationDecision, + AppBskyActorDefs, } from '@atproto/api' import {useNonReactiveCallback} from '#/lib/hooks/useNonReactiveCallback' @@ -10,11 +11,7 @@ export interface ComposerOptsPostRef { uri: string cid: string text: string - author: { - handle: string - displayName?: string - avatar?: string - } + author: AppBskyActorDefs.ProfileViewBasic embed?: AppBskyEmbedRecord.ViewRecord['embed'] moderation?: ModerationDecision } -- cgit 1.4.1