aboutsummaryrefslogtreecommitdiff
path: root/vnext/src
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-08-24 13:40:50 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:53 +0300
commite13efa5ba975d1a6dede42237e498ad71a5c4674 (patch)
treee673f16efee2d885d7f9e645c4b949c3ca2ff2eb /vnext/src
parent3742035e95c3302943106150c518960824836936 (diff)
Fix Discover paging
Diffstat (limited to 'vnext/src')
-rw-r--r--vnext/src/components/Feeds.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/src/components/Feeds.js b/vnext/src/components/Feeds.js
index c7a9362c..11466d23 100644
--- a/vnext/src/components/Feeds.js
+++ b/vnext/src/components/Feeds.js
@@ -16,7 +16,7 @@ export function Discover(props) {
const query = {
baseUrl: '/messages',
search: search,
- pageParam: search ? 'page' : 'before_mid'
+ pageParam: search.search ? 'page' : 'before_mid'
};
return (<Feed authRequired={false} query={query} {...props} />);
}