fix: full fediverse handle display + follower count includes remote
Some checks failed
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Has been cancelled
test / unit (pull_request) Has been cancelled
test / integration (pull_request) Has been cancelled

This commit is contained in:
2026-05-15 04:35:04 +02:00
parent 4342a06319
commit 2e3b81de17
6 changed files with 35 additions and 6 deletions

View File

@@ -7,6 +7,7 @@ import { UserAvatar } from "@/components/user-avatar";
import { Button } from "@/components/ui/button";
import { toast } from "sonner";
import Link from "next/link";
import { fullFediverseHandle } from "@/lib/utils";
export function RemoteFollowing() {
const { token } = useAuth();
@@ -51,7 +52,7 @@ export function RemoteFollowing() {
{actor.displayName || actor.handle}
</p>
<p className="text-xs text-muted-foreground truncate font-mono">
@{actor.handle}
@{fullFediverseHandle(actor.handle, actor.url)}
</p>
</div>
</Link>