update thread & add reply form

This commit is contained in:
Ren Amamiya
2023-06-12 14:24:07 +07:00
parent 10f2f530c7
commit 0147a70e8f
5 changed files with 57 additions and 29 deletions

View File

@@ -1,6 +1,7 @@
import { Kind1 } from "@app/space/components/notes/kind1";
import { Kind1063 } from "@app/space/components/notes/kind1063";
import { NoteMetadata } from "@app/space/components/notes/metadata";
import { NoteReplyForm } from "@app/space/components/notes/replies/form";
import { RepliesList } from "@app/space/components/notes/replies/list";
import { NoteSkeleton } from "@app/space/components/notes/skeleton";
import { NoteDefaultUser } from "@app/space/components/user/default";
@@ -54,6 +55,9 @@ export function ThreadBlock({ params }: { params: any }) {
<NoteMetadata id={params.content} eventPubkey={data.pubkey} />
</div>
</div>
<div className="mt-3 bg-zinc-900 rounded-md">
<NoteReplyForm id={data.id} />
</div>
</div>
)}
<div className="px-3">