aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-06-20 00:50:43 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:52 +0300
commite60138b1e51ea6bf4ec553419bb2fa5c4693feaf (patch)
treee940923fbf78ea5053704595a56f7b173dbceb19 /vnext/src/components
parent0fbe642819172681781ae49b50c6ef02e24642c6 (diff)
Home feed and column fixes
Diffstat (limited to 'vnext/src/components')
-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);