import { Kind1 } from "@app/note/components/kind1"; import { Kind1063 } from "@app/note/components/kind1063"; import { NoteMetadata } from "@app/note/components/metadata"; import { NoteSkeleton } from "@app/note/components/skeleton"; import { NoteDefaultUser } from "@app/note/components/user/default"; import { useEvent } from "@utils/hooks/useEvent"; import { noteParser } from "@utils/parser"; import { memo } from "react"; export const NoteParent = memo(function NoteParent({ id }: { id: string }) { const data = useEvent(id); const kind1 = data?.kind === 1 ? noteParser(data) : null; const kind1063 = data?.kind === 1063 ? data.tags : null; return (
Lume isn't fully support this kind in newsfeed
{data.content}