diff options
author | Tdxdxoz <tdxdxoz@gmail.com> | 2023-03-30 16:14:49 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-30 10:14:49 +0200 |
commit | 74f56c64fc0aa0dce0dc2c267aa8a212569e9673 (patch) | |
tree | 7ed78d4b3628bff371e5443ae00214efbdcf7f53 | |
parent | 9c8456300888cd022bc17ba1b447d5366e87056d (diff) |
Fix: set multiColumn value for /explore Statuses (#24314)
-rw-r--r-- | app/javascript/mastodon/features/explore/index.jsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/explore/index.jsx b/app/javascript/mastodon/features/explore/index.jsx index 569b8612c..939550d83 100644 --- a/app/javascript/mastodon/features/explore/index.jsx +++ b/app/javascript/mastodon/features/explore/index.jsx @@ -88,7 +88,9 @@ class Explore extends React.PureComponent { <Route path='/explore/tags' component={Tags} /> <Route path='/explore/links' component={Links} /> <Route path='/explore/suggestions' component={Suggestions} /> - <Route exact path={['/explore', '/explore/posts', '/search']} component={Statuses} componentParams={{ multiColumn }} /> + <Route exact path={['/explore', '/explore/posts', '/search']}> + <Statuses multiColumn={multiColumn} /> + </Route> </Switch> <Helmet> |