Skip to content

Commit

Permalink
Hide total raised for line liff
Browse files Browse the repository at this point in the history
  • Loading branch information
thi-investax committed Jan 11, 2025
1 parent cb8979e commit dfbccff
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/pages/Launchpad/Banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { useWhitelabelState } from 'state/whitelabel/hooks'
import { ReactComponent as LPBackground } from 'assets/images/LPBackground.svg'
import { ReactComponent as LaunchpadHeader } from 'assets/images/lauchpadHeader.svg'
import apiService from 'services/apiService'
import { isLineLiff } from 'utils'

export const Banner = () => {
const { config } = useWhitelabelState()
Expand Down Expand Up @@ -54,7 +55,7 @@ export const Banner = () => {
)}

<TotalRaisedWrap>
{isIxswap ? (
{isIxswap && !isLineLiff ? (
<div>
<TotalRaisedLabel>Total Raised</TotalRaisedLabel>
<TotalRaisedValue>${totalRaised.toLocaleString('en-US')}</TotalRaisedValue>
Expand All @@ -65,7 +66,9 @@ export const Banner = () => {
<BannerInfoRedirectImage src={LearnMoreIcon} />
<BannerInfoRedirectLabel>
<BannerInfoRedirectTitle>{launchpadBannerInfoRedirectTitle}</BannerInfoRedirectTitle>
<BannerInfoRedirectSubtitle href={launchpadBannerInfoRedirectUrl} target='_blank'>Learn more</BannerInfoRedirectSubtitle>
<BannerInfoRedirectSubtitle href={launchpadBannerInfoRedirectUrl} target="_blank">
Learn more
</BannerInfoRedirectSubtitle>
</BannerInfoRedirectLabel>
</BannerInfoRedirect>
</TotalRaisedWrap>
Expand Down

0 comments on commit dfbccff

Please sign in to comment.