Skip to content

Commit

Permalink
chore(remix-dev): remove no longer used imports that made their way i…
Browse files Browse the repository at this point in the history
…n when this package was created in #4915

Signed-off-by: Logan McAnsh <[email protected]>
  • Loading branch information
mcansh committed Dec 21, 2022
1 parent 2f03066 commit 2bc3d0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
11 changes: 2 additions & 9 deletions packages/remix-react/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ export {
Scripts,
Link,
NavLink,
RemixEntry,
PrefetchPageLinks,
LiveReload,
useTransition,
Expand All @@ -57,11 +56,7 @@ export type { ThrownResponse } from "./errors";
export { useCatch } from "./errorBoundaries";

export type { HtmlLinkDescriptor } from "./links";
export type {
HtmlMetaDescriptor,
CatchBoundaryComponent,
RouteModules,
} from "./routeModules";
export type { HtmlMetaDescriptor } from "./routeModules";

export { ScrollRestoration } from "./scroll-restoration";

Expand All @@ -70,6 +65,4 @@ export { RemixServer } from "./server";

export type { Fetcher } from "./transition";

export type { AssetsManifest, EntryContext } from "./entry";
export type { RouteData } from "./routeData";
export type { EntryRoute, RouteManifest } from "./routes";
export type { RouteData as UNSAFE_RouteData } from "./routeData";
2 changes: 1 addition & 1 deletion packages/remix-testing/create-remix-stub.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
import type { RouteData } from "@remix-run/react";
import type { UNSAFE_RouteData as RouteData } from "@remix-run/react";
import type { InitialEntry, Router } from "@remix-run/router";
import type { RouteObject } from "react-router-dom";
import { createMemoryRouter, RouterProvider } from "react-router-dom";
Expand Down

0 comments on commit 2bc3d0c

Please sign in to comment.