Remove your bets from account / user page

This commit is contained in:
jahooma 2021-12-17 18:28:40 -06:00
parent b5761baeaf
commit c0e22d89ca
2 changed files with 2 additions and 11 deletions

View File

@ -69,14 +69,14 @@ export function Header(props: { darkBackground?: boolean; children?: any }) {
<Link href="/">
<a className="flex flex-row gap-3">
<Image
className="h-6 w-6 sm:h-10 sm:w-10 hover:rotate-12 transition-all"
className="sm:h-10 sm:w-10 hover:rotate-12 transition-all"
src="/logo-icon.svg"
width={40}
height={40}
/>
<div
className={clsx(
'font-major-mono lowercase mt-1 sm:text-2xl',
'font-major-mono lowercase mt-1 hidden sm:block sm:text-2xl',
darkBackground && 'text-white'
)}
>

View File

@ -89,15 +89,6 @@ export function UserPage(props: { user: User; currentUser?: User }) {
<Title text={possesive + 'markets'} />
<ContractsList creator={user} />
<Spacer h={4} />
{isCurrentUser && (
<>
<Title text={possesive + 'bets'} />
<BetsList user={user} />
</>
)}
</div>
</div>
</div>