about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorTdxdxoz <tdxdxoz@gmail.com>2023-03-30 16:14:49 +0800
committerClaire <claire.github-309c@sitedethib.com>2023-03-31 22:50:57 +0200
commitd874a7a10f7cab9b3fe2eb3a088b7c0dff95c7ee (patch)
treecec6a3e5ecf752e9c44f70695412e8ed8603d13b /app
parenta8f0592b72829b840e188b7ee8c0e56b41e6d5c6 (diff)
[Glitch] Fix: set multiColumn value for /explore Statuses
Port 74f56c64fc0aa0dce0dc2c267aa8a212569e9673 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app')
-rw-r--r--app/javascript/flavours/glitch/features/explore/index.jsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/explore/index.jsx b/app/javascript/flavours/glitch/features/explore/index.jsx
index 4f6730438..3587de1db 100644
--- a/app/javascript/flavours/glitch/features/explore/index.jsx
+++ b/app/javascript/flavours/glitch/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>