user page: put markets first

This commit is contained in:
mantikoros 2022-09-27 00:46:23 -04:00
parent fd90bc353b
commit aa93ec060d

View File

@ -190,6 +190,16 @@ export function UserPage(props: { user: User }) {
currentPageForAnalytics={'profile'} currentPageForAnalytics={'profile'}
labelClassName={'pb-2 pt-1 sm:pt-4 '} labelClassName={'pb-2 pt-1 sm:pt-4 '}
tabs={[ tabs={[
{
title: 'Markets',
tabIcon: <ScaleIcon className="h-5" />,
content: (
<>
<Spacer h={4} />
<CreatorContractsList user={currentUser} creator={user} />
</>
),
},
{ {
title: 'Portfolio', title: 'Portfolio',
tabIcon: <FolderIcon className="h-5" />, tabIcon: <FolderIcon className="h-5" />,
@ -202,16 +212,6 @@ export function UserPage(props: { user: User }) {
</> </>
), ),
}, },
{
title: 'Markets',
tabIcon: <ScaleIcon className="h-5" />,
content: (
<>
<Spacer h={4} />
<CreatorContractsList user={currentUser} creator={user} />
</>
),
},
{ {
title: 'Comments', title: 'Comments',
tabIcon: <ChatIcon className="h-5" />, tabIcon: <ChatIcon className="h-5" />,