Skip to content

Commit 61b229a

Browse files
authored
Removed unnecessary wrapper function.
1 parent 787fbb2 commit 61b229a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-devtools-shared/src/devtools/views/Components/SelectedElement.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ function OwnerView({
539539

540540
const onMouseEnter = () => highlightNativeElement(id);
541541

542-
const onMouseLeave = () => clearHighlightNativeElement();
542+
const onMouseLeave = clearHighlightNativeElement;
543543

544544
return (
545545
<Button

0 commit comments

Comments
 (0)