Skip to content

Commit

Permalink
DevTools: Add missing param to fetchFromPage() (#22291)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn authored Sep 10, 2021
1 parent 81db4eb commit d2f08dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-devtools-extensions/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ function createPanelIfReactLoaded() {
}

// Edge case where getContent() returned null; fall back to fetch.
fetchFromPage(url, resolve);
fetchFromPage(url, resolve, reject);
}
});

Expand All @@ -273,7 +273,7 @@ function createPanelIfReactLoaded() {
}

// No matching URL found; fall back to fetch.
fetchFromPage(url, resolve);
fetchFromPage(url, resolve, reject);
});
};

Expand Down

0 comments on commit d2f08dd

Please sign in to comment.