Skip to content

Commit 16f6e8a

Browse files
committed
Update comment
1 parent 458db76 commit 16f6e8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/app/bootstrap/initializeSdk.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ export function addEndpointTagToRequestError(event: Event): void {
337337
}
338338
}
339339

340-
/** Due to an unplesant interaction of the React Router 6 integration and our React Router 6 shims, some transaction names get prepended with a double slash. e.g., "//dashboard/:dashboardId/widget/:widgetIndex/edit/" Will hopefully be resolved in an upcoming version of the SDK. For now, manually cover this case by removing the first slash of two. */
340+
/** Due to an unplesant interaction of the React Router 6 integration and our React Router 6 shims, some transaction names get prepended with a double slash. e.g., "//dashboard/:dashboardId/widget/:widgetIndex/edit/" Will hopefully be resolved in an upcoming version of the SDK, or improved when we remove the routing shims. For now, manually cover this case by removing the first slash of two. */
341341
function stripDoubleLeadingSlash(transactionName: string) {
342342
if (transactionName.startsWith('//')) {
343343
return transactionName.substring(1);

0 commit comments

Comments
 (0)