@samitouri / QOS-React / commits / 1e5c0b7856

Re-added the selection message

Brian Vaughn committed Apr 23, 2019 at 13:43 UTC 1e5c0b7856a3b9a3113f993ff56dcf8a8491237c
1 file changed +3
src/devtools/views/Components/InspectedElementContext.js
+3
@@ -126,6 +126,9 @@ function InspectedElementContextController({ children }: Props) {
126 // We'll poll for an update in the response handler below.
127 sendRequest();
128
129 + // Update the $r variable.
130 + bridge.send('selectElement', { id: selectedElementID, rendererID });
131 +
132 const onInspectedElement = (
133 inspectedElementResponse: InspectedElementResponse | null
134 ) => {