diff --git a/web/components/bets-list.tsx b/web/components/bets-list.tsx index 23b4aac3..40237a44 100644 --- a/web/components/bets-list.tsx +++ b/web/components/bets-list.tsx @@ -45,7 +45,16 @@ export function BetsList(props: { user: User }) { } if (bets.length === 0) - return
You have not made any bets yet!
+ return ( +
+ You have not made any bets yet.{' '} + + + Find a prediction market! + + +
+ ) // Decending creation time. bets.sort((bet1, bet2) => bet2.createdTime - bet1.createdTime) diff --git a/web/components/contracts-list.tsx b/web/components/contracts-list.tsx index 05762267..6514f098 100644 --- a/web/components/contracts-list.tsx +++ b/web/components/contracts-list.tsx @@ -86,6 +86,20 @@ function ContractsGrid(props: { contracts: Contract[] }) { ) const contracts = [...activeContracts, ...resolvedContracts] + if (contracts.length === 0) { + return ( +

+ No markets found. Would you like to{' '} + + + create one + + + ? +

+ ) + } + return (