diff --git a/packages/pl-fe/src/features/status/components/thread.tsx b/packages/pl-fe/src/features/status/components/thread.tsx index 4f81f2c09..1efcaf2a7 100644 --- a/packages/pl-fe/src/features/status/components/thread.tsx +++ b/packages/pl-fe/src/features/status/components/thread.tsx @@ -309,7 +309,42 @@ const Thread = ({ }; const renderChildren = (list: Array) => list.map(id => { - if (id === status.id) return focusedStatus; + if (id === status.id) return ( +
+ {status.deleted ? ( + + ) : ( + +
+ + + +
+ + +
+
+ )} + + {hasDescendants && ( +
+ )} +
+ ); if (id.endsWith('-tombstone')) { return renderTombstone(id); @@ -361,44 +396,7 @@ const Thread = ({ react: handleHotkeyReact, }; - const focusedStatus = ( -
- {status.deleted ? ( - - ) : ( - -
- - - -
- - -
-
- )} - - {hasDescendants && ( -
- )} -
- ); - - const children = useMemo(() => renderChildren(thread), [thread, linear]); + const children = useMemo(() => renderChildren(thread), [thread, linear, status]); if (isModal) children.unshift(
); useEffect(() => {