Skip to content

Commit

Permalink
chore[react-devtools/hook]: remove unused native values (#30827)
Browse files Browse the repository at this point in the history
Stacked on #30826. See [this
commit](ec0e48e).

This is unused.
  • Loading branch information
hoxyq authored Aug 29, 2024
1 parent 233d63c commit a19a8ab
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,4 @@ if (!window.hasOwnProperty('__REACT_DEVTOOLS_GLOBAL_HOOK__')) {
);
},
);

// save native values
window.__REACT_DEVTOOLS_GLOBAL_HOOK__.nativeObjectCreate = Object.create;
window.__REACT_DEVTOOLS_GLOBAL_HOOK__.nativeMap = Map;
window.__REACT_DEVTOOLS_GLOBAL_HOOK__.nativeWeakMap = WeakMap;
window.__REACT_DEVTOOLS_GLOBAL_HOOK__.nativeSet = Set;
}

0 comments on commit a19a8ab

Please sign in to comment.