diff --git a/frontend/apps/site/src/site-embeds.tsx b/frontend/apps/site/src/site-embeds.tsx index 0ca864135..28c619d90 100644 --- a/frontend/apps/site/src/site-embeds.tsx +++ b/frontend/apps/site/src/site-embeds.tsx @@ -318,11 +318,21 @@ export function SiteInlineEmbed(props: InlineEmbedComponentProps) { const accountQuery = trpc.account.get.useQuery({accountId}) const account = accountQuery.data?.account return ( - - {(accountId && - accountQuery.status == 'success' && - `@${account?.profile?.alias}`) || - `@${accountId?.slice(0, 5) + '...' + accountId?.slice(-5)}`} + + + {(accountId && + accountQuery.status == 'success' && + `@${account?.profile?.alias}`) || + `@${accountId?.slice(0, 5) + '...' + accountId?.slice(-5)}`} + ) } diff --git a/frontend/packages/app/components/app-embeds.tsx b/frontend/packages/app/components/app-embeds.tsx index 5ac42fc38..e5623a2b7 100644 --- a/frontend/packages/app/components/app-embeds.tsx +++ b/frontend/packages/app/components/app-embeds.tsx @@ -18,6 +18,7 @@ import { } from '@mintter/shared' import { Button, + ButtonText, SizableText, Spinner, UIAvatar, @@ -265,21 +266,29 @@ export function AppInlineEmbed(props: InlineEmbedComponentProps) { // ) }