From b57bc9e47837e55b4ad159439ab3b1b16d20f24e Mon Sep 17 00:00:00 2001
From: Vitaly Takmazov
Date: Wed, 18 Jul 2018 13:52:33 +0300
Subject: fix search paging
---
vnext/src/components/Feeds.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'vnext/src')
diff --git a/vnext/src/components/Feeds.js b/vnext/src/components/Feeds.js
index 5d084f3c..b58db490 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: props.search ? 'page' : 'before_mid'
+ pageParam: search ? 'page' : 'before_mid'
};
return ();
}
@@ -36,7 +36,7 @@ export function Blog(props) {
const query = {
baseUrl: '/messages',
search: search,
- pageParam: props.search ? 'page' : 'before_mid'
+ pageParam: search ? 'page' : 'before_mid'
};
return ();
}
--
cgit v1.2.3