TootBottomSheet: moved to /:acct/toot/:id
This commit is contained in:
		
							parent
							
								
									6284c7d18e
								
							
						
					
					
						commit
						ddd3c99f30
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -53,7 +53,7 @@ const Routing: Component = () => {
 | 
				
			||||||
          <Route path="/region" component={RegionSettings}></Route>
 | 
					          <Route path="/region" component={RegionSettings}></Route>
 | 
				
			||||||
          <Route path="/motions" component={MotionSettings}></Route>
 | 
					          <Route path="/motions" component={MotionSettings}></Route>
 | 
				
			||||||
        </Route>
 | 
					        </Route>
 | 
				
			||||||
        <Route path="/:acct/:id" component={TootBottomSheet}></Route>
 | 
					        <Route path="/:acct/toot/:id" component={TootBottomSheet}></Route>
 | 
				
			||||||
      </Route>
 | 
					      </Route>
 | 
				
			||||||
      <Route path={"/accounts"}>
 | 
					      <Route path={"/accounts"}>
 | 
				
			||||||
        <Route path={"/sign-in"} component={AccountSignIn} />
 | 
					        <Route path={"/sign-in"} component={AccountSignIn} />
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -151,7 +151,7 @@ const Home: ParentComponent = (props) => {
 | 
				
			||||||
    );
 | 
					    );
 | 
				
			||||||
    const acct = `${inf.username}@${p.account.site}`;
 | 
					    const acct = `${inf.username}@${p.account.site}`;
 | 
				
			||||||
    setTootBottomSheetCache(acct, toot);
 | 
					    setTootBottomSheetCache(acct, toot);
 | 
				
			||||||
    navigate(`/${encodeURIComponent(acct)}/${toot.id}`, {
 | 
					    navigate(`/${encodeURIComponent(acct)}/toot/${toot.id}`, {
 | 
				
			||||||
      state: reply
 | 
					      state: reply
 | 
				
			||||||
        ? {
 | 
					        ? {
 | 
				
			||||||
            tootReply: true,
 | 
					            tootReply: true,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue