Skip to content

Commit

Permalink
fix: fix community link in comment titles
Browse files Browse the repository at this point in the history
  • Loading branch information
sunaurus committed Apr 7, 2024
1 parent e752336 commit 3ee4034
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/comment/Comment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,9 @@ export const Comment = (props: {
{props.addPostLink && (
<div className={"flex flex-wrap items-center gap-1"}>
{"in"}{" "}
<StyledLink href={`/c/${props.commentView.community.id}`}>
<StyledLink
href={`/c/${formatCommunityName(props.commentView.community)}`}
>
{formatCommunityName(props.commentView.community)}
</StyledLink>
{"•"}
Expand Down

0 comments on commit 3ee4034

Please sign in to comment.