an independent Bluesky client using Constellation, PDS Queries, and other services
reddwarf.app
frontend
spa
bluesky
reddwarf
microcosm
client
app
1import { createFileRoute } from "@tanstack/react-router";
2
3import { Header } from "~/components/Header";
4
5import { FollowsTab } from "../notifications";
6
7export const Route = createFileRoute("/profile/$did/followers")({
8 component: RouteComponent,
9});
10
11// todo: scroll restoration
12function RouteComponent() {
13 const params = Route.useParams();
14
15 return (
16 <div>
17 <Header
18 title={"Followers"}
19 backButtonCallback={() => {
20 if (window.history.length > 1) {
21 window.history.back();
22 } else {
23 window.location.assign("/");
24 }
25 }}
26 />
27 <FollowsTab did={params.did} />
28 </div>
29 );
30}