aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-07-18 14:22:28 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:53 +0300
commit802b19b76bf0eecec9dffc9d9e3ba3356c425ffa (patch)
tree8c5f38b2e814cb5942c86412a2c6d7255b5f35dd
parentb57bc9e47837e55b4ad159439ab3b1b16d20f24e (diff)
fix blog paging
-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 b58db490..c7a9362c 100644
--- a/vnext/src/components/Feeds.js
+++ b/vnext/src/components/Feeds.js
@@ -36,7 +36,7 @@ export function Blog(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} />);
}