Skip to content

Commit ed70bfa

Browse files
committed
remove unused argument
1 parent 12ecbea commit ed70bfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-debug-tools/src/ReactDebugHooks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ const Dispatcher: DispatcherType = {
359359
// create a proxy to throw a custom error
360360
// in case future versions of React adds more hooks
361361
const DispatcherProxyHandler = {
362-
get(target, prop, _receiver) {
362+
get(target, prop) {
363363
if (target.hasOwnProperty(prop)) {
364364
return target[prop];
365365
}

0 commit comments

Comments
 (0)