small fixes

This commit is contained in:
Ren Amamiya
2023-08-07 09:07:53 +07:00
parent 02ff9e3b68
commit aa2a9851c3
4 changed files with 15 additions and 6 deletions

View File

@@ -35,8 +35,8 @@ export function EventScreen() {
<NoteContent content={data.content} />
</div>
<div>
<NoteActions id={data.id} pubkey={data.pubkey} noOpenThread={true} />
<NoteStats id={data.id} />
<NoteActions id={id} pubkey={data.pubkey} noOpenThread={true} />
<NoteStats id={id} />
</div>
</div>
</div>

View File

@@ -39,8 +39,12 @@ export function ThreadBlock({ params }: { params: Block }) {
<NoteContent content={data.content} />
</div>
<div>
<NoteActions id={data.id} pubkey={data.pubkey} noOpenThread={true} />
<NoteStats id={data.id} />
<NoteActions
id={params.content}
pubkey={data.pubkey}
noOpenThread={true}
/>
<NoteStats id={params.content} />
</div>
</div>
</div>