Skip to content

Commit 2540df5

Browse files
author
Luca Forstner
committed
Don't introduce immediately deprecated API
1 parent e0475fe commit 2540df5

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

packages/react/src/reactrouterv6.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,6 @@ export function wrapCreateMemoryRouterV6<
6464
return createV6CompatibleWrapCreateMemoryRouter(createMemoryRouterFunction, '6');
6565
}
6666

67-
/**
68-
* Alias for consistency with `wrapCreateBrowserRouter`
69-
* @deprecated Use `wrapCreateMemoryRouterV6` or `wrapCreateMemoryRouterV7` instead.
70-
*/
71-
export const wrapCreateMemoryRouter = wrapCreateMemoryRouterV6;
72-
7367
/**
7468
* A higher-order component that adds Sentry routing instrumentation to a React Router v6 Route component.
7569
* This is used to automatically capture route changes as transactions.

0 commit comments

Comments
 (0)