diff --git a/src/components/views/Home.jsx b/src/components/views/Home.jsx index e7e6a80a..45e14ff6 100644 --- a/src/components/views/Home.jsx +++ b/src/components/views/Home.jsx @@ -1,4 +1,4 @@ -import React, { useEffect, useRef } from 'react'; +import React, { Fragment, useEffect, useRef } from 'react'; import { Helmet } from 'react-helmet-async'; import { useAccount } from '@plebbit/plebbit-react-hooks'; import useGeneralStore from '../../hooks/stores/useGeneralStore'; @@ -114,7 +114,7 @@ const Home = () => { {window.scrollTo(0, 0)}}>[view all]
{account?.subscriptions?.map((subscription, index) => ( - <> + {window.scrollTo(0, 0)}} to={`/p/${subscription}`}> @@ -122,11 +122,12 @@ const Home = () => { {subscription}  -
- +
+
))}
@@ -137,26 +138,27 @@ const Home = () => {

Popular Boards

- {defaultSubplebbits.map(subplebbit => ( -
-
+ {defaultSubplebbits.map((subplebbit, index) => ( +
+
{subplebbit.title ? subplebbit.title :  }
-
- { +
+ { setSelectedTitle(subplebbit.title); setSelectedAddress(subplebbit.address); window.scrollTo(0, 0); }} > - + + tooltipPlace="top" + key="oi2"/>
-
- {subplebbit.address} +
+ {subplebbit.address}
))}