diff --git a/packages/react-devtools-extensions/src/main.js b/packages/react-devtools-extensions/src/main.js index 920ccee75692e..d77ff853d0e51 100644 --- a/packages/react-devtools-extensions/src/main.js +++ b/packages/react-devtools-extensions/src/main.js @@ -258,7 +258,7 @@ function createPanelIfReactLoaded() { } // Edge case where getContent() returned null; fall back to fetch. - fetchFromPage(url, resolve); + fetchFromPage(url, resolve, reject); } }); @@ -273,7 +273,7 @@ function createPanelIfReactLoaded() { } // No matching URL found; fall back to fetch. - fetchFromPage(url, resolve); + fetchFromPage(url, resolve, reject); }); };