add NIP-05 icons back to threads

This commit is contained in:
hzrd149
2023-11-17 12:18:03 -06:00
parent b8f58d662e
commit 87cf0198b0

View File

@@ -34,6 +34,7 @@ import { useBreakpointValue } from "../../../providers/breakpoint-provider";
import NoteReactions from "../../../components/note/components/note-reactions";
import BookmarkButton from "../../../components/note/components/bookmark-button";
import NoteCommunityMetadata from "../../../components/note/note-community-metadata";
import { UserDnsIdentityIcon } from "../../../components/user-dns-identity-icon";
const LEVEL_COLORS = ["green", "blue", "red", "purple", "yellow", "cyan", "pink"];
@@ -78,6 +79,7 @@ export const ThreadPost = ({ post, initShowReplies, focusId, level = -1 }: Threa
<Flex gap="2" alignItems="center">
<UserAvatarLink pubkey={post.event.pubkey} size="sm" />
<UserLink pubkey={post.event.pubkey} fontWeight="bold" isTruncated />
<UserDnsIdentityIcon pubkey={post.event.pubkey} onlyIcon />
<Link as={RouterLink} whiteSpace="nowrap" color="current" to={`/n/${nip19.noteEncode(post.event.id)}`}>
<Timestamp timestamp={post.event.created_at} />
</Link>