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.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/vnext/src/components/Feeds.js b/vnext/src/components/Feeds.js
index f0a3c523..0f12575f 100644
--- a/vnext/src/components/Feeds.js
+++ b/vnext/src/components/Feeds.js
@@ -47,6 +47,14 @@ export function Tag(props) {
return (<Feed query={query} {...props} />)
}
+export function Home(props) {
+ const query = {
+ baseUrl: `https://api.juick.com/home`,
+ pageParam: 'before_mid'
+ };
+ return (<Feed authRequired="true" query={query} {...props} />)
+}
+
class Feed extends React.Component {
constructor(props) {
super(props);