refactor(note): only support kind 1
This commit is contained in:
@@ -3,15 +3,17 @@ import { Note } from "..";
|
||||
|
||||
export function ChildReply({
|
||||
event,
|
||||
rootEventId,
|
||||
}: { event: NDKEvent; rootEventId?: string }) {
|
||||
return (
|
||||
<Note.Provider event={event}>
|
||||
<Note.Root className="pl-4 gap-2 mb-5">
|
||||
<Note.User />
|
||||
<Note.TextContent content={event.content} className="min-w-0" />
|
||||
<div className="-ml-1 flex items-center gap-10">
|
||||
<Note.Reply rootEventId={rootEventId} />
|
||||
<Note.Root className="gap-2 pl-4 mb-5">
|
||||
<div className="flex items-center justify-between px-3 h-14">
|
||||
<Note.User className="flex-1 pr-1" />
|
||||
<Note.Menu />
|
||||
</div>
|
||||
<Note.Content className="min-w-0" />
|
||||
<div className="flex items-center gap-10 -ml-1">
|
||||
<Note.Reply />
|
||||
<Note.Reaction />
|
||||
<Note.Repost />
|
||||
<Note.Zap />
|
||||
|
||||
Reference in New Issue
Block a user