Skip to content

Commit

Permalink
update url in the check to reactjs.org for the development version ch…
Browse files Browse the repository at this point in the history
…eat as the old facebook.github.io/react always redirects to reactjs.org
  • Loading branch information
sktguha committed Sep 30, 2020
1 parent 5427b46 commit c6d64f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-devtools-extensions/src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ chrome.runtime.onMessage.addListener((request, sender) => {
// display a custom default popup when React is *not* detected.
// It is specified in the manifest.
let reactBuildType = request.reactBuildType;
if (sender.url.indexOf('facebook.github.io/react') !== -1) {
if (sender.url.indexOf('reactjs.org') !== -1) {
// Cheat: We use the development version on the website because
// it is better for interactive examples. However we're going
// to get misguided bug reports if the extension highlights it
Expand Down

0 comments on commit c6d64f1

Please sign in to comment.