Skip to content

Commit 5114e44

Browse files
docs: fix typo in doc for reactRouterV6BrowserTracingIntegration (#11896)
1 parent 12d5acf commit 5114e44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react/src/reactrouterv6.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ interface ReactRouterOptions {
5959
}
6060

6161
/**
62-
* A browser tracing integration that uses React Router v3 to instrument navigations.
63-
* Expects `history` (and optionally `routes` and `matchPath`) to be passed as options.
62+
* A browser tracing integration that uses React Router v6 to instrument navigations.
63+
* Expects `useEffect`, `useLocation`, `useNavigationType`, `createRoutesFromChildren` and `matchRoutes` to be passed as options.
6464
*/
6565
export function reactRouterV6BrowserTracingIntegration(
6666
options: Parameters<typeof browserTracingIntegration>[0] & ReactRouterOptions,

0 commit comments

Comments
 (0)