Skip to content

Commit 71e8b7f

Browse files
committed
fix: tests
1 parent d7f2497 commit 71e8b7f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/react-router-dom-v5-compat/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export type {
6969
Pathname,
7070
Search,
7171
RoutesProps,
72-
} from "./react-router-dom";
72+
} from "../react-router-dom";
7373
export {
7474
BrowserRouter,
7575
HashRouter,
@@ -108,7 +108,7 @@ export {
108108
useResolvedPath,
109109
useRoutes,
110110
useSearchParams,
111-
} from "./react-router-dom";
111+
} from "../react-router-dom";
112112

113113
export type { StaticRouterProps } from "./lib/components";
114114
export { CompatRouter, CompatRoute, StaticRouter } from "./lib/components";

packages/react-router-dom-v5-compat/lib/components.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { useHistory, Route as RouteV5 } from "react-router-dom";
99
// We are a wrapper around react-router-dom v6, so bring it in
1010
// and bundle it because an app can't have two versions of
1111
// react-router-dom in its package.json.
12-
import { Router, Routes, Route } from "../react-router-dom";
12+
import { Router, Routes, Route } from "../../react-router-dom";
1313

1414
// v5 isn't in TypeScript, they'll also lose the @types/react-router with this
1515
// but not worried about that for now.

0 commit comments

Comments
 (0)