TootBottomSheet: fix context switch wrong target
This commit is contained in:
		
							parent
							
								
									da60702403
								
							
						
					
					
						commit
						54db6d4fbe
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -161,7 +161,7 @@ const TootBottomSheet: Component = (props) => {
 | 
				
			||||||
      return;
 | 
					      return;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    setCache(params.acct, status);
 | 
					    setCache(params.acct, status);
 | 
				
			||||||
    navigate(`/${params.acct}/${status.id}`, {
 | 
					    navigate(`/${params.acct}/toot/${status.id}`, {
 | 
				
			||||||
      state: {
 | 
					      state: {
 | 
				
			||||||
        tootBottomSheetPushedCount: pushedCount() + 1,
 | 
					        tootBottomSheetPushedCount: pushedCount() + 1,
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue