mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
c8acb01b32074fb29465126b303fc1028cd26086
bugfix for #26492 This bug would cause users unable to use the devtools (component tree empty). The else-if logic is broken when user switch to undocked devtools mode (separate window) because `sender.tab` would exist in that case. <img width="314" alt="image" src="https://user-images.githubusercontent.com/1001890/232930094-05a74445-9189-4d50-baf1-a0360b29ef7e.png"> Tested on Chrome with a local build DiffTrain build for commit https://github.com/facebook/react/commit/96fd2fb726130d2980e6d450f5d9e468f922b8b9.
(patch)[DevTools] bug fix: backend injection logic not working for undocked devtools window (#26665)
react-fbsource-import
Description
Languages
JavaScript
67.1%
TypeScript
29.4%
HTML
1.5%
CSS
1.1%
C++
0.6%
Other
0.2%