We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bd8243 commit f398340Copy full SHA for f398340
packages/react/src/reactrouter.tsx
@@ -65,7 +65,7 @@ function createReactRouterInstrumentation(
65
}
66
67
function getTransactionName(pathname: string): string {
68
- if (allRoutes === [] || !matchPath) {
+ if (allRoutes.length === 0 || !matchPath) {
69
return pathname;
70
71
0 commit comments