File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
packages/web/app/src/pages Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -834,6 +834,8 @@ export const columns: ColumnDef<Trace>[] = [
834
834
side = "bottom"
835
835
className = "cursor-auto overflow-hidden rounded-lg p-2 text-xs text-gray-100 shadow-lg sm:min-w-[150px]"
836
836
onClick = { e => {
837
+ // Prevent the click event from bubbling up to the row,
838
+ // which would trigger the sheet with trace details to open
837
839
e . stopPropagation ( ) ;
838
840
} }
839
841
>
@@ -1403,6 +1405,7 @@ function Filters() {
1403
1405
'http.url' : [ ] ,
1404
1406
} ) ;
1405
1407
1408
+ // Stores the update handlers in a ref to prevent unnecessary re-renders
1406
1409
const updateHandlersRef = useRef ( new Map < FilterKeys , ( value : any ) => void > ( ) ) ;
1407
1410
const updateFilter = useCallback (
1408
1411
< $Key extends FilterKeys > ( key : $Key ) : ( ( value : FilterState [ $Key ] ) => void ) => {
You can’t perform that action at this time.
0 commit comments