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 96b5d24 commit 73e8dce
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion packages/react/package.json
@@ -1,7 +1,7 @@
{
"name": "@sentry/react",
"version": "5.16.0",
"description": "Offical Sentry SDK for Node.js",
"description": "Offical Sentry SDK for React.js",
"repository": "git://github.com/getsentry/sentry-javascript.git",
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/react",
"author": "Sentry",
Expand Down
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 73e8dce

Please sign in to comment.