chore: convert hexkey of submitter to npub format

This commit is contained in:
SwiftHawk 2024-05-31 09:09:48 +05:00
parent e82023f105
commit 425e7bc653

View File

@ -912,7 +912,9 @@ const DisplayMeta = ({
<UserComponent <UserComponent
pubkey={submittedBy} pubkey={submittedBy}
name={ name={
profile?.display_name || profile?.name || shorten(submittedBy) profile?.display_name ||
profile?.name ||
shorten(hexToNpub(submittedBy))
} }
image={profile?.picture} image={profile?.picture}
/> />