diff --git a/src/components/note/comment.tsx b/src/components/note/comment.tsx index 023d66c0..263da935 100644 --- a/src/components/note/comment.tsx +++ b/src/components/note/comment.tsx @@ -42,9 +42,6 @@ export const NoteComment = memo(function NoteComment({ event }: { event: any }) if (tags[match][0] === 'p') { // @-mentions return ; - } else if (tags[match][0] === 'e') { - // note-mentions - return ; } else { return; } diff --git a/src/components/note/extend.tsx b/src/components/note/extend.tsx index 0528d4ae..ec0a6680 100644 --- a/src/components/note/extend.tsx +++ b/src/components/note/extend.tsx @@ -1,6 +1,7 @@ import NoteMetadata from '@components/note/metadata'; import { ImagePreview } from '@components/note/preview/image'; import { VideoPreview } from '@components/note/preview/video'; +import { NoteRepost } from '@components/note/repost'; import { UserLarge } from '@components/user/large'; import { UserMention } from '@components/user/mention'; @@ -43,7 +44,7 @@ export const NoteExtend = memo(function NoteExtend({ event }: { event: any }) { return ; } else if (tags[match][0] === 'e') { // note-mentions - return

note-{tags[match][1]}

; + return ; } else { return; }