Skip to content

Commit

Permalink
Merge pull request #331 from trueadm/flare_displayName
Browse files Browse the repository at this point in the history
[Flare] Update event component displayName
  • Loading branch information
Brian Vaughn authored Jun 24, 2019
2 parents 81e5e9b + 89a0886 commit 844cdb2
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 844cdb2

Please sign in to comment.