Skip to content

Commit 839a15e

Browse files
more-shubhamCopilot
andcommitted
Update packages/react-dom/src/client/ReactDOMClient.js
Co-authored-by: Copilot <[email protected]>
1 parent c3dbe42 commit 839a15e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/react-dom/src/client/ReactDOMClient.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ if (__DEV__) {
5858
!foundDevTools &&
5959
canUseDOM &&
6060
window.top === window.self &&
61+
// Allow suppressing this message via __REACT_DEVTOOLS_HIDE_CONSOLE__ in
62+
// environments like CEP or nwjs where the DevTools extension cannot be installed.
6163
typeof __REACT_DEVTOOLS_HIDE_CONSOLE__ === 'undefined'
6264
) {
6365
// If we're in Chrome or Firefox, provide a download link if not installed.

0 commit comments

Comments
 (0)