mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Nit
This commit is contained in:
@@ -443,7 +443,8 @@ export default class Agent extends EventEmitter {
|
||||
|
||||
const target = ((event.target: any): HTMLElement);
|
||||
|
||||
// Pass an empty string so it can infer name from tag and owner.
|
||||
showOverlay(target, '');
|
||||
// Don't pass the name explicitly.
|
||||
// It will be inferred from DOM tag and Fiber owner.
|
||||
showOverlay(target);
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user