Skip to content

Commit

Permalink
chore[react-devtools/hook]: remove unused native values
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxyq committed Aug 29, 2024
1 parent 233d63c commit 9577183
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 9577183

Please sign in to comment.