Skip to content

Commit

Permalink
fix: #78
Browse files Browse the repository at this point in the history
  • Loading branch information
ImLunaHey committed Jan 2, 2025
1 parent bd9b580 commit 6415d82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/PostCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import TimeAgo from 'react-timeago-i18n';
import { useTranslation } from 'react-i18next';
import { useAuth } from '../lib/bluesky/hooks/useAuth';
import { Handle } from './ui/Handle';
import { FormattedText } from './ui/FormattedText';

type PostCardProps = {
post: BSkyPost | undefined | null;
Expand Down Expand Up @@ -108,7 +109,7 @@ export function PostCard({ post, context, className, onClick }: PostCardProps) {
{post.record.facets ? (
<FacetedText text={post.record.text} facets={post.record.facets} key={`faceted-text-${post.uri}`} />
) : (
post.record.text
<FormattedText text={post.record.text} key={`formatted-text-${post.uri}`} />
)}
</p>
<ErrorBoundary>{post.embed && <PostEmbed embed={post.embed} />}</ErrorBoundary>
Expand Down

0 comments on commit 6415d82

Please sign in to comment.