Fix thread reactions

This commit is contained in:
Kieran 2023-09-23 22:29:26 +01:00
parent 94da60ebfa
commit 5692423e3c
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -247,7 +247,7 @@ export function Thread(props: { onBack?: () => void }) {
className={className}
key={note.id}
data={note}
related={getReactions(thread.data, note.id)}
related={getReactions(thread.reactions, note.id)}
options={{ showReactionsLink: true }}
onClick={navigateThread}
/>
@ -268,7 +268,7 @@ export function Thread(props: { onBack?: () => void }) {
active={thread.current}
notes={replies}
related={getAllReactions(
thread.data,
thread.reactions,
replies.map(a => a.id),
)}
chains={thread.chains}