| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -20,6 +20,7 @@ import { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  Outlet, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  redirect, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  RouterProvider, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  createHashHistory, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					} from '@tanstack/react-router' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					// import { TanStackRouterDevtools } from '@tanstack/router-devtools'
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import { memo, useEffect, useRef } from 'react' | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -301,8 +302,11 @@ export const RootProvider = memo((props: { context: Partial<IRootContext> }) => | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  generateDynamicRoutes(menuData ?? [], layoutAuthRoute) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  const hashHistory = createHashHistory() | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					   | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  const router = createRouter({ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    routeTree, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    history: hashHistory, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    context: { queryClient, menuData: [] }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    defaultPreload: 'intent', | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    defaultPendingComponent: () => <Loading loading={true} delay={300}/> | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |