diff --git a/app/(app)/notifications/page.tsx b/app/(app)/notifications/page.tsx index 948094e2..4ad966ea 100644 --- a/app/(app)/notifications/page.tsx +++ b/app/(app)/notifications/page.tsx @@ -137,14 +137,16 @@ function NotificationRow({ ); - // A like links to your own post; everything else links to the actor's - // profile (when we know their handle). + // A like links to your own post; a mention links to the actor's post you + // were tagged in; everything else links to the actor's profile. const href = n.kind === "post_like" && n.post_id ? `/u/${selfHandle}/posts#post-${n.post_id}` - : n.actor_handle - ? `/u/${n.actor_handle}` - : null; + : n.kind === "post_mention" && n.post_id && n.actor_handle + ? `/u/${n.actor_handle}/posts#post-${n.post_id}` + : n.actor_handle + ? `/u/${n.actor_handle}` + : null; return href ? (
Loading…
; + } + return ( -- Posts that tag @{data.handle}{" "} - will appear here. Coming soon. -
-Loading…
; + } + return ( -- Mentions of you across posts will appear here. Coming soon. -
-+ Mention people +
+ {mentions.length > 0 ? ( +{error}
: null}