fix new listing banner for drift

This commit is contained in:
saml33 2024-05-16 10:31:13 +10:00
parent 3c3362d4de
commit 7d519f0379
1 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ const NewListingBanner = () => {
const showForNewListing = latestListing && latestListing.uiPrice
// change this to false when token launches
const isPreLaunch = false
const isPreLaunch = true
return (!hasSeenNewListingBanner && showForNewListing) ||
(showForNewListing && hasSeenNewListingBanner !== latestListing?.name) ? (
@ -53,7 +53,7 @@ const NewListingBanner = () => {
<span className="mx-1.5">
{!isPreLaunch
? t('new-token-live', { tokenName: latestListing.name })
: `Pre-launch W is live.`}
: `Pre-launch DRIFT is live.`}
</span>
<div>
{newMarketName ? (