Skip to content

Commit a19a8ab

Browse files
authored
chore[react-devtools/hook]: remove unused native values (#30827)
Stacked on #30826. See [this commit](ec0e48e). This is unused.
1 parent 233d63c commit a19a8ab

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

packages/react-devtools-extensions/src/contentScripts/installHook.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,4 @@ if (!window.hasOwnProperty('__REACT_DEVTOOLS_GLOBAL_HOOK__')) {
2020
);
2121
},
2222
);
23-
24-
// save native values
25-
window.__REACT_DEVTOOLS_GLOBAL_HOOK__.nativeObjectCreate = Object.create;
26-
window.__REACT_DEVTOOLS_GLOBAL_HOOK__.nativeMap = Map;
27-
window.__REACT_DEVTOOLS_GLOBAL_HOOK__.nativeWeakMap = WeakMap;
28-
window.__REACT_DEVTOOLS_GLOBAL_HOOK__.nativeSet = Set;
2923
}

0 commit comments

Comments
 (0)