Skip to content

Commit

Permalink
Temporarily remove Profiler ID from messages
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Jul 12, 2018
1 parent a482fb4 commit 9c990c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ exports[`ReactDebugFiberPerf does not include AsyncMode, StrictMode, or Profiler
// Mount
⚛ (React Tree Reconciliation: Completed Root)
⚛ Profiler(test) [mount]
⚛ Profiler [mount]
⚛ Parent [mount]
⚛ Child [mount]
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/getComponentName.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function getComponentName(fiber: Fiber): string | null {
case REACT_PORTAL_TYPE:
return 'Portal';
case REACT_PROFILER_TYPE:
return `Profiler(${fiber.pendingProps.id})`;
return `Profiler`;
case REACT_STRICT_MODE_TYPE:
return 'StrictMode';
case REACT_PLACEHOLDER_TYPE:
Expand Down

0 comments on commit 9c990c2

Please sign in to comment.