feat: read nip-58 badges #394

Merged
verbiricha merged 19 commits from badges into main 2023-03-09 10:13:11 +00:00
Showing only changes of commit 6a987bd585 - Show all commits

View File

@ -23,7 +23,7 @@ export default function BadgeList({ badges }: { badges: TaggedRawEvent[] }) {
pubkey: b.pubkey,
name,
description,
thumb,
thumb: thumb?.length ?? 0 > 0 ? thumb : image,
image,
};
});