File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
apps/web/src/components/chat Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -296,9 +296,7 @@ function TimelineRowContent({ row }: { row: TimelineRow }) {
296296 data-message-id = { row . kind === "message" ? row . message . id : undefined }
297297 data-message-role = { row . kind === "message" ? row . message . role : undefined }
298298 >
299- { row . kind === "work" && (
300- < WorkGroupSection groupId = { row . id } groupedEntries = { row . groupedEntries } />
301- ) }
299+ { row . kind === "work" && < WorkGroupSection groupedEntries = { row . groupedEntries } /> }
302300
303301 { row . kind === "message" &&
304302 row . message . role === "user" &&
@@ -528,10 +526,8 @@ function LiveMessageMeta({
528526/** Owns its own expand/collapse state so toggling re-renders only this row.
529527 * State resets on unmount which is fine — work groups start collapsed. */
530528const WorkGroupSection = memo ( function WorkGroupSection ( {
531- groupId,
532529 groupedEntries,
533530} : {
534- groupId : string ;
535531 groupedEntries : Extract < MessagesTimelineRow , { kind : "work" } > [ "groupedEntries" ] ;
536532} ) {
537533 const [ isExpanded , setIsExpanded ] = useState ( false ) ;
You can’t perform that action at this time.
0 commit comments