Skip to content

Commit c28f68e

Browse files
committed
Remove unused arg
1 parent 83ca348 commit c28f68e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

packages/react-router-dev/vite/plugin.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -445,11 +445,7 @@ export const reactRouterVitePlugin: ReactRouterVitePlugin = () => {
445445
let ctx: ReactRouterPluginContext;
446446

447447
/** Mutates `ctx` as a side-effect */
448-
let updatePluginContext = async ({
449-
routeConfigChanged = false,
450-
}: {
451-
routeConfigChanged?: boolean;
452-
} = {}): Promise<void> => {
448+
let updatePluginContext = async (): Promise<void> => {
453449
let reactRouterConfig: ResolvedReactRouterConfig;
454450
let reactRouterConfigResult = await reactRouterConfigLoader.getConfig();
455451

@@ -1096,7 +1092,7 @@ export const reactRouterVitePlugin: ReactRouterVitePlugin = () => {
10961092
});
10971093
}
10981094

1099-
await updatePluginContext({ routeConfigChanged });
1095+
await updatePluginContext();
11001096

11011097
if (!isEqualJson(lastReactRouterConfig, ctx.reactRouterConfig)) {
11021098
invalidateVirtualModules(viteDevServer);

0 commit comments

Comments
 (0)