feat(frontend): add fediverse handle widget to feed sidebar

This commit is contained in:
2026-05-29 01:35:36 +02:00
parent 522ee9c1b1
commit d76ff9dafb
2 changed files with 34 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ import { buildThoughtThreads } from "@/lib/utils";
import { TopFriends } from "@/components/top-friends";
import { UsersCount } from "@/components/users-count";
import { PaginationNav } from "@/components/pagination-nav";
import { FediverseHandleWidget } from "@/components/fediverse-handle-widget";
import { redirect } from "next/navigation";
import { Suspense } from "react";
import {
@@ -84,6 +85,7 @@ async function FeedPage({
const sidebar = (
<>
<FediverseHandleWidget username={me.username} />
<Suspense fallback={<ProfileSkeleton />}>
<TopFriends username={me.username} />
</Suspense>