Skip to content

Commit 9b494bd

Browse files
author
valley
committed
feat: change result name
1 parent 1e08473 commit 9b494bd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/react-router-dev/config/config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -401,14 +401,14 @@ async function resolveConfig({
401401
return null;
402402
}
403403

404-
let presetResult = await preset.reactRouterConfig({
404+
let reactRouterConfig = await preset.reactRouterConfig({
405405
reactRouterUserConfig,
406406
});
407407

408-
let configPreset = presetResult;
408+
let configPreset = reactRouterConfig;
409409

410-
if ("presets" in presetResult) {
411-
configPreset = omit(presetResult, excludedConfigPresetKeys);
410+
if ("presets" in reactRouterConfig) {
411+
configPreset = omit(reactRouterConfig, excludedConfigPresetKeys);
412412
}
413413

414414
return configPreset;

0 commit comments

Comments
 (0)