Skip to content

Commit edd95ea

Browse files
committed
Disable getting-starded redirect
1 parent 0768944 commit edd95ea

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

  • app/javascript/mastodon/features/getting_started

app/javascript/mastodon/features/getting_started/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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

6060
export 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();

0 commit comments

Comments
 (0)