Skip to content

Commit

Permalink
refactor(remix-react): use react-router-dom import instead of `reac…
Browse files Browse the repository at this point in the history
…t-router`
  • Loading branch information
MichaelDeBoey committed Dec 7, 2022
1 parent 46b0621 commit 0ea52c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions packages/remix-react/__tests__/transition-test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1877,10 +1877,6 @@ describe("navigating with inflight fetchers", () => {
});
});

// describe("react-router", () => {
// it.todo("replaces pending locations even on a push");
// });

////////////////////////////////////////////////////////////////////////////////
type Deferred = ReturnType<typeof defer>;

Expand Down
2 changes: 1 addition & 1 deletion packages/remix-react/routes.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { ComponentType, ReactNode } from "react";
import * as React from "react";
import type { Params } from "react-router";
import type { Params } from "react-router-dom";

import type { RouteModules, ShouldReloadFunction } from "./routeModules";
import { loadRouteModule } from "./routeModules";
Expand Down

0 comments on commit 0ea52c2

Please sign in to comment.