Skip to content

Commit

Permalink
chore: fix ESLint warnings (#10359)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey committed Apr 17, 2023
1 parent 0ea6b71 commit 95a295c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
2 changes: 0 additions & 2 deletions examples/data-router/src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ import type { ActionFunctionArgs, LoaderFunctionArgs } from "react-router-dom";
import {
Await,
createBrowserRouter,
createRoutesFromElements,
defer,
Form,
Link,
Outlet,
Route,
RouterProvider,
useAsyncError,
useAsyncValue,
Expand Down
11 changes: 0 additions & 11 deletions packages/react-router-dom/__tests__/data-browser-router-test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5466,14 +5466,3 @@ function getHtml(container: HTMLElement) {
},
});
}

async function waitForRouterInitialize(router) {
return await new Promise((resolve) => {
let unsubscribe = router.subscribe((updatedState) => {
if (updatedState.initialized) {
unsubscribe();
resolve(router);
}
});
});
}
1 change: 0 additions & 1 deletion packages/react-router-dom/server.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import type {
StaticHandlerContext,
CreateStaticHandlerOptions as RouterCreateStaticHandlerOptions,
UNSAFE_RouteManifest as RouteManifest,
FutureConfig,
} from "@remix-run/router";
import {
IDLE_BLOCKER,
Expand Down

0 comments on commit 95a295c

Please sign in to comment.