Skip to content

Commit

Permalink
Remove surrounding brackets from internal display names
Browse files Browse the repository at this point in the history
  • Loading branch information
acdlite committed Dec 12, 2017
1 parent 15ab1fc commit c4a89ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/shared/getComponentName.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ function getComponentName(fiber: Fiber): string | null {
}
switch (type) {
case REACT_FRAGMENT_TYPE:
return '<ReactFragment>';
return 'ReactFragment';
case REACT_PORTAL_TYPE:
return '<ReactPortal>';
return 'ReactPortal';
case REACT_CALL_TYPE:
return '<ReactCall>';
return 'ReactCall';
case REACT_RETURN_TYPE:
return '<ReactReturn>';
return 'ReactReturn';
}
return null;
}
Expand Down

0 comments on commit c4a89ae

Please sign in to comment.