From 9209b3cb05ea8914dd250a65badc7fb568043bf2 Mon Sep 17 00:00:00 2001 From: jahooma Date: Sat, 15 Jan 2022 17:28:32 -0600 Subject: [PATCH] Fix nested tag --- web/components/contract-card.tsx | 33 ++++++++++++++++---------------- web/components/user-page.tsx | 3 ++- 2 files changed, 18 insertions(+), 18 deletions(-) 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})`}