mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-12 00:17:02 +02:00
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:
@@ -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} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user