Skip to content

Commit

Permalink
remove unused argument
Browse files Browse the repository at this point in the history
  • Loading branch information
mondaychen committed Mar 30, 2022
1 parent 12ecbea commit ed70bfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-debug-tools/src/ReactDebugHooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ const Dispatcher: DispatcherType = {
// create a proxy to throw a custom error
// in case future versions of React adds more hooks
const DispatcherProxyHandler = {
get(target, prop, _receiver) {
get(target, prop) {
if (target.hasOwnProperty(prop)) {
return target[prop];
}
Expand Down

0 comments on commit ed70bfa

Please sign in to comment.