We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbc9ba3 commit 1f127a3Copy full SHA for 1f127a3
packages/react-router-dom/__tests__/data-browser-router-test.tsx
@@ -5466,14 +5466,3 @@ function getHtml(container: HTMLElement) {
5466
},
5467
});
5468
}
5469
-
5470
-async function waitForRouterInitialize(router) {
5471
- return await new Promise((resolve) => {
5472
- let unsubscribe = router.subscribe((updatedState) => {
5473
- if (updatedState.initialized) {
5474
- unsubscribe();
5475
- resolve(router);
5476
- }
5477
- });
5478
5479
-}
packages/react-router-dom/server.tsx
@@ -6,7 +6,6 @@ import type {
6
StaticHandlerContext,
7
CreateStaticHandlerOptions as RouterCreateStaticHandlerOptions,
8
UNSAFE_RouteManifest as RouteManifest,
9
- FutureConfig,
10
} from "@remix-run/router";
11
import {
12
IDLE_BLOCKER,
0 commit comments