diff --git a/packages/nicolium/src/features/status/components/thread.tsx b/packages/nicolium/src/features/status/components/thread.tsx index 0c223e91d..366ffb0b7 100644 --- a/packages/nicolium/src/features/status/components/thread.tsx +++ b/packages/nicolium/src/features/status/components/thread.tsx @@ -243,7 +243,7 @@ const Thread = ({ const renderChildren = (list: Array) => list.map((id) => { - if (id === status.id) + if (id === status.id) { return (
{deleted ? ( @@ -289,6 +289,7 @@ const Thread = ({ )}
); + } if (id.endsWith('-tombstone')) { return renderTombstone(id); @@ -328,7 +329,7 @@ const Thread = ({ [status.id], ); - const hasDescendants = thread.length > statusIndex; + const hasDescendants = thread.length > statusIndex + 1; type HotkeyHandlers = { [key: string]: (keyEvent?: KeyboardEvent) => void };