fix: show profile NIP-05 for Grimoire members

Removes the check that was hiding NIP-05 for Grimoire members.
Members now display whatever NIP-05 they have in their profile,
just like everyone else, while still getting gradient username styling.
This commit is contained in:
Claude
2026-01-18 11:45:04 +00:00
parent a618da1ded
commit 2366087521

View File

@@ -1,6 +1,5 @@
import { useNip05 } from "@/hooks/useNip05";
import { ProfileContent } from "applesauce-core/helpers";
import { isGrimoireMember } from "@/lib/grimoire-members";
export function QueryNip05({
pubkey,
@@ -21,12 +20,6 @@ export default function Nip05({
pubkey: string;
profile: ProfileContent;
}) {
// Grimoire members don't show NIP-05 here (handled by UserName component)
if (isGrimoireMember(pubkey)) {
return null;
}
// Show regular NIP-05 if available
if (!profile?.nip05) return null;
return <QueryNip05 pubkey={pubkey} nip05={profile.nip05} />;
}