File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
packages/react-router-dev/vite Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments