diff --git a/web/components/contract-card.tsx b/web/components/contract-card.tsx index 70e5df9f..63eaf8aa 100644 --- a/web/components/contract-card.tsx +++ b/web/components/contract-card.tsx @@ -114,7 +114,9 @@ export function ContractDetails(props: {
{formatMoney(truePool)} pool
- {inlineTags &&
} + {inlineTags && tags.length > 0 && ( +
+ )} {tags.map((tag) => ( diff --git a/web/components/contract-overview.tsx b/web/components/contract-overview.tsx index b3703dd3..a3b1077e 100644 --- a/web/components/contract-overview.tsx +++ b/web/components/contract-overview.tsx @@ -68,6 +68,7 @@ export const ContractOverview = (props: { /> + - - - - diff --git a/web/components/tweet-button.tsx b/web/components/tweet-button.tsx index b3e69150..2fd4adcd 100644 --- a/web/components/tweet-button.tsx +++ b/web/components/tweet-button.tsx @@ -1,9 +1,14 @@ -export function TweetButton(props: { tweetText?: string }) { - const { tweetText } = props +import clsx from 'clsx' + +export function TweetButton(props: { className?: string; tweetText?: string }) { + const { tweetText, className } = props return ( Tweet