Skip to content

Commit

Permalink
Correct name of global hook variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
bvaughn authored Nov 11, 2020
1 parent 4937155 commit 8527d9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-refresh/src/ReactFreshRuntime.js
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ export function injectIntoGlobalHook(globalObject: any): void {
// of DevTools integration and associated warnings and logs.
// Using console['warn'] to evade Babel and ESLint
console['warn'](
'Something has shimmed the React DevTools global hook (REACT_DEVTOOLS_GLOBAL_HOOK). ' +
'Something has shimmed the React DevTools global hook (__REACT_DEVTOOLS_GLOBAL_HOOK__). ' +
'Fast Refresh is not compatible with this shim and will be disabled.',
);
return;
Expand Down

0 comments on commit 8527d9d

Please sign in to comment.