fix new listing banner for drift
This commit is contained in:
parent
3c3362d4de
commit
7d519f0379
|
@ -42,7 +42,7 @@ const NewListingBanner = () => {
|
||||||
const showForNewListing = latestListing && latestListing.uiPrice
|
const showForNewListing = latestListing && latestListing.uiPrice
|
||||||
|
|
||||||
// change this to false when token launches
|
// change this to false when token launches
|
||||||
const isPreLaunch = false
|
const isPreLaunch = true
|
||||||
|
|
||||||
return (!hasSeenNewListingBanner && showForNewListing) ||
|
return (!hasSeenNewListingBanner && showForNewListing) ||
|
||||||
(showForNewListing && hasSeenNewListingBanner !== latestListing?.name) ? (
|
(showForNewListing && hasSeenNewListingBanner !== latestListing?.name) ? (
|
||||||
|
@ -53,7 +53,7 @@ const NewListingBanner = () => {
|
||||||
<span className="mx-1.5">
|
<span className="mx-1.5">
|
||||||
{!isPreLaunch
|
{!isPreLaunch
|
||||||
? t('new-token-live', { tokenName: latestListing.name })
|
? t('new-token-live', { tokenName: latestListing.name })
|
||||||
: `Pre-launch W is live.`}
|
: `Pre-launch DRIFT is live.`}
|
||||||
</span>
|
</span>
|
||||||
<div>
|
<div>
|
||||||
{newMarketName ? (
|
{newMarketName ? (
|
||||||
|
|
Loading…
Reference in New Issue