Merge branch 'main' of github.com:blockworks-foundation/mango-v4-ui
This commit is contained in:
commit
61ec3c850d
|
@ -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}`}
|
||||
|
|
Loading…
Reference in New Issue