import { Kind1 } from "@shared/notes/contents/kind1"; import { Kind1063 } from "@shared/notes/contents/kind1063"; import { NoteSkeleton } from "@shared/notes/skeleton"; import { User } from "@shared/user"; import { useEvent } from "@utils/hooks/useEvent"; import { memo } from "react"; export const MentionNote = memo(function MentionNote({ id }: { id: string }) { const { status, data, isFetching } = useEvent(id); const kind1 = data?.kind === 1 ? data.content : null; const kind1063 = data?.kind === 1063 ? data.tags : null; return (
Lume isn't fully support this kind in newsfeed
{data.content}