We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2cac009 commit 16e25caCopy full SHA for 16e25ca
1 file changed
packages/devtool-extenstion/extension/core/hook.js
@@ -381,8 +381,8 @@ export function installHook(target, settings) {
381
382
window.addEventListener('message', event => {
383
if (event.data.source === "react-devtools-detector") {
384
+ reactInfo.mode = event.data.reactBuildType;
385
if (settings.startDebugWhen === "pageLoad") {
- reactInfo.mode = event.data.reactBuildType;
386
startDebug();
387
}
388
0 commit comments