From 3623aea6c994f0b96466d7ac83c1bbe0a9c8a267 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Wed, 30 May 2018 18:42:06 +0200 Subject: [PATCH] Redirect / to home on mobile layout, to getting started on desktop (#7677) --- app/javascript/mastodon/features/ui/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/javascript/mastodon/features/ui/index.js b/app/javascript/mastodon/features/ui/index.js index adb856b9275..f1409b9467f 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}