[Glitch] Fix: set multiColumn value for /explore Statuses

Port 74f56c64fc to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Tdxdxoz 2023-03-30 16:14:49 +08:00 committed by Claire
parent a8f0592b72
commit d874a7a10f
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>