aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/Feeds.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/components/Feeds.js')
-rw-r--r--vnext/src/components/Feeds.js4
1 files changed, 2 insertions, 2 deletions
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 (<Feed authRequired={false} query={query} {...props} />);
}
@@ -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 (<Feed authRequired={false} query={query} {...props} />);
}