Do not replace history state
This is both for consistency with account timelines and to not mess with the logic used to decide whether going back in the browser's history is going to make us leave the WebUI.
This commit is contained in:
		
							parent
							
								
									200a8bdd3a
								
							
						
					
					
						commit
						c644e6ea89
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -48,8 +48,8 @@ export default class SectionHeadline extends Component { | ||||||
|           </Fragment> |           </Fragment> | ||||||
|         ) : ( |         ) : ( | ||||||
|           <Fragment> |           <Fragment> | ||||||
|             <NavLink exact to={to} replace><FormattedMessage id='timeline.posts' defaultMessage='Toots' /></NavLink> |             <NavLink exact to={to}><FormattedMessage id='timeline.posts' defaultMessage='Toots' /></NavLink> | ||||||
|             <NavLink exact to={`${to}/media`} replace><FormattedMessage id='timeline.media' defaultMessage='Media' /></NavLink> |             <NavLink exact to={`${to}/media`}><FormattedMessage id='timeline.media' defaultMessage='Media' /></NavLink> | ||||||
|           </Fragment> |           </Fragment> | ||||||
|         )} |         )} | ||||||
|       </div> |       </div> | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue