Skip to content

Commit 1ccb7c3

Browse files
committed
s/reactRouterInstrumentation/createrReactRouterInstrumentation
1 parent 684248c commit 1ccb7c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/react/src/reactrouter.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,18 @@ export function reactRouterV4Instrumentation(
4747
routes?: RouteConfig[],
4848
matchPath?: MatchPath,
4949
): ReactRouterInstrumentation {
50-
return reactRouterInstrumentation(history, 'react-router-v4', routes, matchPath);
50+
return createReactRouterInstrumentation(history, 'react-router-v4', routes, matchPath);
5151
}
5252

5353
export function reactRouterV5Instrumentation(
5454
history: RouterHistory,
5555
routes?: RouteConfig[],
5656
matchPath?: MatchPath,
5757
): ReactRouterInstrumentation {
58-
return reactRouterInstrumentation(history, 'react-router-v5', routes, matchPath);
58+
return createReactRouterInstrumentation(history, 'react-router-v5', routes, matchPath);
5959
}
6060

61-
function reactRouterInstrumentation(
61+
function createReactRouterInstrumentation(
6262
history: RouterHistory,
6363
name: string,
6464
allRoutes: RouteConfig[] = [],

0 commit comments

Comments
 (0)