Skip to content

Commit 8527d9d

Browse files
authored
Correct name of global hook variable.
1 parent 4937155 commit 8527d9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-refresh/src/ReactFreshRuntime.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ export function injectIntoGlobalHook(globalObject: any): void {
470470
// of DevTools integration and associated warnings and logs.
471471
// Using console['warn'] to evade Babel and ESLint
472472
console['warn'](
473-
'Something has shimmed the React DevTools global hook (REACT_DEVTOOLS_GLOBAL_HOOK). ' +
473+
'Something has shimmed the React DevTools global hook (__REACT_DEVTOOLS_GLOBAL_HOOK__). ' +
474474
'Fast Refresh is not compatible with this shim and will be disabled.',
475475
);
476476
return;

0 commit comments

Comments
 (0)