Skip to content

Commit

Permalink
Fix TS error
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiodxa committed Jul 22, 2023
1 parent 478d5ef commit f22494f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/react/handle-conventions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RouteData } from "@remix-run/react/dist/routeData";
import type { RouterState } from "@remix-run/router";
import type { AppData } from "@remix-run/server-runtime";
import type { Location, Params } from "react-router-dom";
import { Matches } from "./matches-type";
Expand All @@ -8,6 +8,6 @@ export type HandleConventionArguments<Data extends AppData = AppData> = {
data: Data;
params: Params;
location: Location;
parentsData: RouteData;
parentsData: RouterState["loaderData"];
matches: Matches;
};

0 comments on commit f22494f

Please sign in to comment.