File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
packages/react-devtools-core/src Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -131,21 +131,6 @@ export function connectToDevTools(options: ?ConnectOptions) {
131
131
}
132
132
} ,
133
133
} ) ;
134
- bridge . addListener (
135
- 'inspectElement' ,
136
- ( { id, rendererID} : { id : number , rendererID : number , ...} ) => {
137
- const renderer = agent . rendererInterfaces [ rendererID ] ;
138
- if ( renderer != null ) {
139
- // Send event for RN to highlight.
140
- const nodes : ?Array < HTMLElement > = renderer.findNativeNodesForFiberID(
141
- id,
142
- );
143
- if (nodes != null && nodes [ 0 ] != null ) {
144
- agent . emit ( 'showNativeHighlight' , nodes [ 0 ] ) ;
145
- }
146
- }
147
- } ,
148
- ) ;
149
134
// $FlowFixMe[incompatible-use] found when upgrading Flow
150
135
bridge . addListener (
151
136
'updateComponentFilters' ,
You can’t perform that action at this time.
0 commit comments