Merge branch 'main' of github.com:blockworks-foundation/mango-v4-ui

This commit is contained in:
Adrian Brzeziński 2023-12-21 23:42:20 +01:00
commit 61ec3c850d
1 changed files with 13 additions and 9 deletions

View File

@ -48,6 +48,8 @@ const NewListingBanner = () => {
{t('new-token-live', { tokenName: latestListing.name })}
</span>
<div>
{newMarketName ? (
<>
<Link
className="text-black underline md:hover:text-black md:hover:no-underline"
href={`/trade?name=${newMarketName}`}
@ -56,9 +58,11 @@ const NewListingBanner = () => {
{`${t('trade')} ${latestListing.name}`}
</Link>{' '}
<span className="text-[rgba(0,0,0,0.4)]">|</span>{' '}
</>
) : null}
<Link
className="text-black underline md:hover:text-black md:hover:no-underline"
href={`/swap?in=${latestListing.name}&out=USDC`}
href={`/swap?in=USDC&out=${latestListing.name}`}
shallow
>
{`${t('swap')} ${latestListing.name}`}