Skip to content

Commit 5095809

Browse files
committed
remove router.basename in favor of normnalized basename
1 parent 375bff1 commit 5095809

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/router/router.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1357,7 +1357,7 @@ export function createRouter(init: RouterInit): Router {
13571357
matches,
13581358
manifest,
13591359
mapRouteProperties,
1360-
router.basename
1360+
basename
13611361
);
13621362

13631363
if (request.signal.aborted) {
@@ -1725,7 +1725,7 @@ export function createRouter(init: RouterInit): Router {
17251725
requestMatches,
17261726
manifest,
17271727
mapRouteProperties,
1728-
router.basename
1728+
basename
17291729
);
17301730

17311731
if (fetchRequest.signal.aborted) {
@@ -1968,7 +1968,7 @@ export function createRouter(init: RouterInit): Router {
19681968
matches,
19691969
manifest,
19701970
mapRouteProperties,
1971-
router.basename
1971+
basename
19721972
);
19731973

19741974
// Deferred isn't supported for fetcher loads, await everything and treat it
@@ -2185,7 +2185,7 @@ export function createRouter(init: RouterInit): Router {
21852185
matches,
21862186
manifest,
21872187
mapRouteProperties,
2188-
router.basename
2188+
basename
21892189
)
21902190
),
21912191
...fetchersToLoad.map((f) => {
@@ -2197,7 +2197,7 @@ export function createRouter(init: RouterInit): Router {
21972197
f.matches,
21982198
manifest,
21992199
mapRouteProperties,
2200-
router.basename
2200+
basename
22012201
);
22022202
} else {
22032203
let error: ErrorResult = {

0 commit comments

Comments
 (0)