Remove your bets from account / user page
This commit is contained in:
parent
b5761baeaf
commit
c0e22d89ca
|
@ -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'
|
||||
)}
|
||||
>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user