diff --git a/web/components/contract-card.tsx b/web/components/contract-card.tsx index 7aaaee16..3e39d1c7 100644 --- a/web/components/contract-card.tsx +++ b/web/components/contract-card.tsx @@ -24,25 +24,24 @@ export function ContractCard(props: { const { probPercent } = contractMetrics(contract) return ( -
+
- -
- -

{question}

- -
- -
-
+ + +

{question}

+ +
+
) } diff --git a/web/components/user-page.tsx b/web/components/user-page.tsx index 0a27fae6..f75dcf7e 100644 --- a/web/components/user-page.tsx +++ b/web/components/user-page.tsx @@ -1,3 +1,4 @@ +import clsx from 'clsx' import { firebaseLogout, User } from '../lib/firebase/users' import { CreatorContractsList } from './contracts-list' import { Title } from './title' @@ -16,7 +17,7 @@ export function UserLink(props: { const { name, username, showUsername, className } = props return ( - + {name} {showUsername && ` (@${username})`} diff --git a/web/pages/activity.tsx b/web/pages/activity.tsx index d331cdf4..44f33617 100644 --- a/web/pages/activity.tsx +++ b/web/pages/activity.tsx @@ -82,7 +82,7 @@ export function ActivityFeed(props: { <Col className="w-full bg-white self-center divide-gray-300 divide-y"> {activeContracts.map((contract, i) => ( - <div className="py-6 px-2 sm:px-4"> + <div key={contract.id} className="py-6 px-2 sm:px-4"> <ContractFeed contract={contract} bets={contractBets[i]}