chore[react-devtools/hook]: remove unused native values (#30827)
Stacked on https://github.com/facebook/react/pull/30826. See [this commit](https://github.com/facebook/react/pull/30827/commits/ec0e48ed7a47dbbdafb5e2530ccba1f2e5b17bad). This is unused.
Ruslan Lesiutin committed
Aug 29, 2024 at 11:34 UTC
a19a8ab44f53f189745015a6d2e6bf8955f98170
1 file changed
-6
packages/react-devtools-extensions/src/contentScripts/installHook.js
-6
@@ -20,10 +20,4 @@ if (!window.hasOwnProperty('__REACT_DEVTOOLS_GLOBAL_HOOK__')) {
20
);
21
},
22
);
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;
23
}