MCPcopy Create free account
hub / github.com/getsentry/sentry-javascript / wrapUseRoutesV6

Function wrapUseRoutesV6

packages/react/src/reactrouterv6.tsx:31–33  ·  view source on GitHub ↗
(origUseRoutes: UseRoutes)

Source from the content-addressed store, hash-verified

29 * @deprecated Use `wrapUseRoutes` instead.
30 */
31export function wrapUseRoutesV6(origUseRoutes: UseRoutes): UseRoutes {
32 return createV6CompatibleWrapUseRoutes(origUseRoutes, '6');
33}
34
35/**
36 * A wrapper function that adds Sentry routing instrumentation to a React Router v6 createBrowserRouter function.

Calls 1

Tested by

no test coverage detected