Skip to content

Commit

Permalink
fix(react): remove unnecessary data field
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhiPrasad committed Jun 3, 2020
1 parent db6de28 commit 0df029f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/react/src/profiler.tsx
Expand Up @@ -45,7 +45,6 @@ const getInitActivity = (componentDisplayName: string): number | null => {
if (tracingIntegration !== null) {
// tslint:disable-next-line:no-unsafe-any
const activity = (tracingIntegration as any).constructor.pushActivity(componentDisplayName, {
data: {},
description: `<${componentDisplayName}>`,
op: 'react',
});
Expand Down
1 change: 0 additions & 1 deletion packages/react/test/profiler.test.tsx
Expand Up @@ -61,7 +61,6 @@ describe('withProfiler', () => {
create(<ProfiledComponent />);
expect(mockPushActivity).toHaveBeenCalledTimes(1);
expect(mockPushActivity).toHaveBeenLastCalledWith(UNKNOWN_COMPONENT, {
data: {},
description: `<${UNKNOWN_COMPONENT}>`,
op: 'react',
});
Expand Down

0 comments on commit 0df029f

Please sign in to comment.