fix: color on button in nft details (#5431)

* fix color

* fix
This commit is contained in:
lynn 2022-11-29 12:49:19 -05:00 committed by GitHub
parent e9dd0c90e0
commit 57371fb47e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -296,10 +296,6 @@ export const NotForSale = ({ collectionName, collectionUrl }: { collectionName:
)
}
const SubHeader = styled(ThemedText.SubHeader)`
color: ${({ theme }) => theme.textPrimary};
`
export const AssetPriceDetails = ({ asset, collection }: AssetPriceDetailsProps) => {
const { account } = useWeb3React()
@ -388,9 +384,9 @@ export const AssetPriceDetails = ({ asset, collection }: AssetPriceDetailsProps)
}
}}
>
<SubHeader color="white" lineHeight="20px">
<ThemedText.SubHeader color="white" lineHeight="20px">
<span>{assetInBag ? 'Remove' : 'Add to Bag'}</span>
</SubHeader>
</ThemedText.SubHeader>
</BuyNowButton>
</BuyNowButtonContainer>
</div>