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="/">
|
<Link href="/">
|
||||||
<a className="flex flex-row gap-3">
|
<a className="flex flex-row gap-3">
|
||||||
<Image
|
<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"
|
src="/logo-icon.svg"
|
||||||
width={40}
|
width={40}
|
||||||
height={40}
|
height={40}
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
className={clsx(
|
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'
|
darkBackground && 'text-white'
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
|
|
|
@ -89,15 +89,6 @@ export function UserPage(props: { user: User; currentUser?: User }) {
|
||||||
<Title text={possesive + 'markets'} />
|
<Title text={possesive + 'markets'} />
|
||||||
|
|
||||||
<ContractsList creator={user} />
|
<ContractsList creator={user} />
|
||||||
|
|
||||||
<Spacer h={4} />
|
|
||||||
|
|
||||||
{isCurrentUser && (
|
|
||||||
<>
|
|
||||||
<Title text={possesive + 'bets'} />
|
|
||||||
<BetsList user={user} />
|
|
||||||
</>
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user