fix: remove currency symbol to avoid double currency symbol with some upgrade buttons (#448)

This commit is contained in:
Matthew Piatetsky
2021-05-14 09:48:50 -04:00
committed by GitHub
parent b1fdbcccf3
commit d8243d6ea8
3 changed files with 11 additions and 11 deletions

View File

@@ -90,8 +90,8 @@ function StreakModal({
};
offer = {
discountedPrice: (mode.price * 0.85).toFixed(2).toString(),
originalPrice: mode.price.toString(),
discountedPrice: `${verifiedMode.currencySymbol}${(mode.price * 0.85).toFixed(2).toString()}`,
originalPrice: `${verifiedMode.currencySymbol}${mode.price.toString()}`,
upgradeUrl: mode.upgradeUrl,
};
}