Skip to content

Commit

Permalink
Re-enabled DevTools context menu option in Firefox to inspect functio…
Browse files Browse the repository at this point in the history
…n prop source (#17838)
  • Loading branch information
Brian Vaughn committed Jan 14, 2020
1 parent 3bd6adc commit 1e1a989
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/react-devtools-extensions/firefox/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const main = async () => {
console.log('WEB_EXT_FIREFOX=nightly yarn run test:firefox');
console.log(chalk.gray('\n# You can test against older versions too:'));
console.log(
'WEB_EXT_FIREFOX=/Applications/Firefox52.app/Contents/MacOS/firefox-bin yarn run test:firefox'
'WEB_EXT_FIREFOX=/Applications/Firefox Developer Edition.app/Contents/MacOS/firefox-bin yarn run test:firefox'
);
};

Expand Down
4 changes: 1 addition & 3 deletions packages/react-devtools-extensions/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,7 @@ function createPanelIfReactLoaded() {
showTabBar: false,
store,
warnIfUnsupportedVersionDetected: true,
viewAttributeSourceFunction: isChrome
? viewAttributeSourceFunction
: null,
viewAttributeSourceFunction,
viewElementSourceFunction,
}),
);
Expand Down

0 comments on commit 1e1a989

Please sign in to comment.