Skip to content

Commit

Permalink
[Flare] Update event component displayName
Browse files Browse the repository at this point in the history
  • Loading branch information
trueadm committed Jun 19, 2019
1 parent 083bf8d commit 89a0886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ export function attach(
case IndeterminateComponent:
return getDisplayName(resolvedType);
case EventComponent:
return type.displayName || 'EventComponent';
return type.responder.displayName || 'EventComponent';
case EventTarget:
switch (getTypeSymbol(elementType.type)) {
case EVENT_TARGET_TOUCH_HIT_NUMBER:
Expand Down

0 comments on commit 89a0886

Please sign in to comment.