import { NoteSkeleton } from "@app/space/components/notes/skeleton"; import { Profile } from "@app/trending/components/profile"; import useSWR from "swr"; const fetcher = (url: string) => fetch(url).then((r) => r.json()); export function TrendingProfiles() { const { data, error } = useSWR( "https://api.nostr.band/v0/trending/profiles", fetcher, ); return (
Failed to load...
} {!data ? (