diff --git a/web/components/tags-list.tsx b/web/components/tags-list.tsx index 80276897..33b54e96 100644 --- a/web/components/tags-list.tsx +++ b/web/components/tags-list.tsx @@ -63,14 +63,15 @@ export function FoldTag(props: { fold: { slug: string; name: string } }) { export function FoldTagList(props: { folds: { slug: string; name: string }[] + noLabel?: boolean className?: string }) { - const { folds, className } = props + const { folds, noLabel, className } = props return ( {folds.length > 0 && ( <> -
Communities
+ {!noLabel &&
Communities
} {folds.map((fold) => ( ))} diff --git a/web/pages/home.tsx b/web/pages/home.tsx index cea7c0a7..2eee39d3 100644 --- a/web/pages/home.tsx +++ b/web/pages/home.tsx @@ -112,15 +112,6 @@ const Home = (props: { contracts: Contract[]; folds: Fold[] }) => { ) : [] - console.log({ - followedFoldIds, - followedFolds, - yourBetContracts, - feedContracts, - feedBets, - feedComments, - }) - if (user === null) { Router.replace('/') return <> @@ -132,13 +123,17 @@ const Home = (props: { contracts: Contract[]; folds: Fold[] }) => { +
Communities