Skip to content

Commit

Permalink
Refactor Card component to remove the word "Community"
Browse files Browse the repository at this point in the history
  • Loading branch information
alvinsjoy committed Oct 13, 2024
1 parent 6083c75 commit 04620a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/cards/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ function Card({
))}

<Link href={`/thread/${id}`}>
<p className="ml-2 text-subtle-medium text-gray-1">
<p className="ml-1 text-subtle-medium text-gray-1">
{comments.length} repl{comments.length > 1 ? 'ies' : 'y'}
</p>
</Link>
Expand All @@ -160,7 +160,7 @@ function Card({
>
<p className="text-subtle-medium text-gray-1">
{formatDateString(createdAt)}
{community && ` - ${community.name} Community`}
{community && ` - ${community.name}`}
</p>
{community && (
<Image
Expand Down

0 comments on commit 04620a3

Please sign in to comment.