Skip to content
Prev Previous commit
Next Next commit
Remove 0 timeout from onClickNavMenuEvent
Signed-off-by: Adhitya Mamallan <adhitya.mamallan@uber.com>
  • Loading branch information
adhityamamallan committed Jan 14, 2026
commit 35f55f7fcc9c5ac1cbadd0fe77a2fb9187a578e4
6 changes: 2 additions & 4 deletions src/views/workflow-history-v2/workflow-history-v2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -410,10 +410,8 @@ export default function WorkflowHistoryV2({ params }: Props) {
);
}

setTimeout(() => {
setScrollToEventId(eventId);
if (!getIsItemExpanded(eventId)) toggleIsItemExpanded(eventId);
}, 0);
setScrollToEventId(eventId);
if (!getIsItemExpanded(eventId)) toggleIsItemExpanded(eventId);
},
[
filteredEventGroupsEntries,
Expand Down