Skip to content

Commit

Permalink
fix(camp): link author to warpcast profile page on farcaster comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pedropregueiro committed Oct 30, 2024
1 parent 175ddb5 commit 51bf2de
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions apps/nouns-camp/src/components/activity-feed.js
Original file line number Diff line number Diff line change
Expand Up @@ -1430,16 +1430,19 @@ const ItemTitle = ({ item, context, isOnScreen }) => {
if (item.authorAccount == null)
return (
<>
<span
<a
href={`https://warpcast.com/${item.authorUsername}`}
target="_blank"
rel="noreferrer"
css={(t) =>
css({
color: t.colors.textNormal,
fontWeight: t.text.weights.emphasis,
color: `${t.colors.textNormal} !important`,
fontWeight: `${t.text.weights.emphasis} !important`,
})
}
>
{item.authorDisplayName}
</span>{" "}
</a>{" "}
commented
{!isIsolatedContext && (
<>
Expand Down

0 comments on commit 51bf2de

Please sign in to comment.