From: Eugen Rochko Date: Wed, 30 May 2018 16:42:06 +0000 (+0200) Subject: Redirect / to home on mobile layout, to getting started on desktop (#7677) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=3623aea6c994f0b96466d7ac83c1bbe0a9c8a267;p=mastodon.git Redirect / to home on mobile layout, to getting started on desktop (#7677) --- diff --git a/app/javascript/mastodon/features/ui/index.js b/app/javascript/mastodon/features/ui/index.js index adb856b92..f1409b946 100644 --- a/app/javascript/mastodon/features/ui/index.js +++ b/app/javascript/mastodon/features/ui/index.js @@ -132,11 +132,12 @@ class SwitchingColumnsArea extends React.PureComponent { render () { const { children } = this.props; const { mobile } = this.state; + const redirect = mobile ? : ; return ( - + {redirect}