File tree Expand file tree Collapse file tree
app/javascript/mastodon/features/getting_started Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ const badgeDisplay = (number, limit) => {
5555 }
5656} ;
5757
58- const NAVIGATION_PANEL_BREAKPOINT = 600 + ( 285 * 2 ) + ( 10 * 2 ) ;
58+ // const NAVIGATION_PANEL_BREAKPOINT = 600 + (285 * 2) + (10 * 2);
5959
6060export default @connect ( mapStateToProps , mapDispatchToProps )
6161@injectIntl
@@ -78,10 +78,10 @@ class GettingStarted extends ImmutablePureComponent {
7878 componentDidMount ( ) {
7979 const { myAccount, fetchFollowRequests } = this . props ;
8080
81- if ( window . innerWidth >= NAVIGATION_PANEL_BREAKPOINT ) {
82- this . context . router . history . replace ( '/timelines/home' ) ;
83- return ;
84- }
81+ // if (window.innerWidth >= NAVIGATION_PANEL_BREAKPOINT) {
82+ // this.context.router.history.replace('/timelines/home');
83+ // return;
84+ // }
8585
8686 if ( myAccount . get ( 'locked' ) ) {
8787 fetchFollowRequests ( ) ;
You can’t perform that action at this time.
0 commit comments