diff --git a/web/components/bets-list.tsx b/web/components/bets-list.tsx
index 957351af..dc9245f2 100644
--- a/web/components/bets-list.tsx
+++ b/web/components/bets-list.tsx
@@ -197,7 +197,7 @@ export function MyBetsSummary(props: {
{resolution ? (
<>
- Winnings
+ Payout
{formatMoney(betsPayout)}
>
diff --git a/web/components/contracts-list.tsx b/web/components/contracts-list.tsx
index 24400011..1846aa4e 100644
--- a/web/components/contracts-list.tsx
+++ b/web/components/contracts-list.tsx
@@ -173,7 +173,7 @@ export function SearchableGrid(props: {
export function ContractsList(props: { creator: User }) {
const { creator } = props
- const [contracts, setContracts] = useState([])
+ const [contracts, setContracts] = useState('loading')
useEffect(() => {
if (creator?.id) {
@@ -182,5 +182,9 @@ export function ContractsList(props: { creator: User }) {
}
}, [creator])
- return
+ return (
+ contracts !== 'loading' && (
+
+ )
+ )
}
diff --git a/web/pages/markets.tsx b/web/pages/markets.tsx
index f70261ed..24313302 100644
--- a/web/pages/markets.tsx
+++ b/web/pages/markets.tsx
@@ -21,9 +21,11 @@ export default function Markets(props: { contracts: Contract[] }) {
return (
-
+ {(props.contracts || contracts !== 'loading') && (
+
+ )}
)
}