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 9, 2024
1 parent b213070 commit ec0e48e
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 ec0e48e

Please sign in to comment.