Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 156600c

Browse files
Lint
1 parent 91044d1 commit 156600c

File tree

5 files changed

+2
-10
lines changed

5 files changed

+2
-10
lines changed

‎dev-packages/e2e-tests/test-applications/react-router-7-lazy-routes/src/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import {
1313
} from 'react-router-dom';
1414
import Index from './pages/Index';
1515

16-
1716
Sentry.init({
1817
environment: 'qa', // dynamic sampling bias to keep transactions
1918
dsn: process.env.REACT_APP_E2E_TEST_DSN,

‎dev-packages/e2e-tests/test-applications/react-router-7-lazy-routes/src/pages/Index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import * as React from 'react';
21
import { Link } from 'react-router-dom';
32

43
const Index = () => {

‎dev-packages/e2e-tests/test-applications/react-router-7-lazy-routes/src/pages/InnerLazyRoutes.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import React from 'react';
2-
31
export const someMoreNestedRoutes = [
42
{
53
path: 'inner',
@@ -24,9 +22,7 @@ export const someMoreNestedRoutes = [
2422
},
2523
{
2624
path: ':someAnotherId',
27-
element: <div id="innermost-lazy-route">
28-
Rendered
29-
</div>,
25+
element: <div id="innermost-lazy-route">Rendered</div>,
3026
},
3127
],
3228
},

‎dev-packages/e2e-tests/test-applications/react-router-7-lazy-routes/tests/transactions.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { expect, test } from '@playwright/test';
22
import { waitForTransaction } from '@sentry-internal/test-utils';
33

4-
54
test('Creates a pageload transaction with parameterized route', async ({ page }) => {
65
const transactionPromise = waitForTransaction('react-router-7-lazy-routes', async transactionEvent => {
76
return (
@@ -14,7 +13,6 @@ test('Creates a pageload transaction with parameterized route', async ({ page })
1413
await page.goto('/lazy/inner/1/2/3');
1514
const event = await transactionPromise;
1615

17-
1816
const lazyRouteContent = page.locator('id=innermost-lazy-route');
1917

2018
await expect(lazyRouteContent).toBeVisible();

‎packages/react/src/reactrouterv6-compat-utils.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ import {
1010
} from '@sentry/browser';
1111
import type { Client, Integration, Span, TransactionSource } from '@sentry/core';
1212
import {
13-
addNonEnumerableProperty,
1413
SEMANTIC_ATTRIBUTE_SENTRY_OP,
1514
SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN,
1615
SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,
16+
addNonEnumerableProperty,
1717
getActiveSpan,
1818
getClient,
1919
getCurrentScope,

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /