Skip to content

Commit c6d64f1

Browse files
committed
update url in the check to reactjs.org for the development version cheat as the old facebook.github.io/react always redirects to reactjs.org
1 parent 5427b46 commit c6d64f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-devtools-extensions/src/background.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ chrome.runtime.onMessage.addListener((request, sender) => {
9999
// display a custom default popup when React is *not* detected.
100100
// It is specified in the manifest.
101101
let reactBuildType = request.reactBuildType;
102-
if (sender.url.indexOf('facebook.github.io/react') !== -1) {
102+
if (sender.url.indexOf('reactjs.org') !== -1) {
103103
// Cheat: We use the development version on the website because
104104
// it is better for interactive examples. However we're going
105105
// to get misguided bug reports if the extension highlights it

0 commit comments

Comments
 (0)