Fix: set multiColumn value for /explore Statuses (#24314)

This commit is contained in:
Tdxdxoz 2023-03-30 16:14:49 +08:00 committed by GitHub
parent 9c84563008
commit 74f56c64fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,7 +88,9 @@ class Explore extends React.PureComponent {
<Route path='/explore/tags' component={Tags} /> <Route path='/explore/tags' component={Tags} />
<Route path='/explore/links' component={Links} /> <Route path='/explore/links' component={Links} />
<Route path='/explore/suggestions' component={Suggestions} /> <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> </Switch>
<Helmet> <Helmet>