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

lolsob-rspec
Tdxdxoz 2023-03-30 16:14:49 +08:00 committed by GitHub
parent a9715ecd73
commit d339684df5
1 changed files with 3 additions and 1 deletions

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>