From a1078eefedc5d835569a908221852999dc2bb42d Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Thu, 18 Jun 2026 18:24:52 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- .../TraceComponent/FlowInsightsContent.tsx | 23 ++++++++----------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/src/frontend/src/pages/FlowPage/components/TraceComponent/FlowInsightsContent.tsx b/src/frontend/src/pages/FlowPage/components/TraceComponent/FlowInsightsContent.tsx index f248ac9a4c..e470f95ca5 100644 --- a/src/frontend/src/pages/FlowPage/components/TraceComponent/FlowInsightsContent.tsx +++ b/src/frontend/src/pages/FlowPage/components/TraceComponent/FlowInsightsContent.tsx @@ -182,17 +182,14 @@ export function FlowInsightsContent({ setTracePanelOpen(true); }, []); - const handleCellKeyDown = useCallback( - (event: CellKeyDownEvent) => { - const keyboardEvent = event.event as KeyboardEvent | undefined; - if (keyboardEvent?.key === "Enter") { - const rowData = event.data as TraceListItem | undefined; - setTracePanelTraceId(rowData?.id ?? null); - setTracePanelOpen(true); - } - }, - [], - ); + const handleCellKeyDown = useCallback((event: CellKeyDownEvent) => { + const keyboardEvent = event.event as KeyboardEvent | undefined; + if (keyboardEvent?.key === "Enter") { + const rowData = event.data as TraceListItem | undefined; + setTracePanelTraceId(rowData?.id ?? null); + setTracePanelOpen(true); + } + }, []); const traceTableRef = useRef(null); @@ -447,9 +444,7 @@ export function FlowInsightsContent({ onFirstDataRendered={() => applyRowTabIndices(traceTableRef.current) } - onRowDataUpdated={() => - applyRowTabIndices(traceTableRef.current) - } + onRowDataUpdated={() => applyRowTabIndices(traceTableRef.current)} /> )}