StackedRouter: add replace: all
This commit is contained in:
		
							parent
							
								
									4c717a0cb7
								
							
						
					
					
						commit
						83e2e6e169
					
				
					 2 changed files with 15 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -64,7 +64,7 @@ export function useSessions() {
 | 
			
		|||
    if (sessions().length > 0) return;
 | 
			
		||||
    push(
 | 
			
		||||
      "/accounts/sign-in?back=" + encodeURIComponent(location.pathname),
 | 
			
		||||
      { replace: true },
 | 
			
		||||
      { replace: "all" },
 | 
			
		||||
    );
 | 
			
		||||
  });
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue