fix: align price formatting
This commit is contained in:
@@ -4,6 +4,7 @@ import { useIntl } from "react-intl"
|
||||
|
||||
import Caption from "@/components/TempDesignSystem/Text/Caption"
|
||||
import Footnote from "@/components/TempDesignSystem/Text/Footnote"
|
||||
import { formatPrice } from "@/utils/numberFormatting"
|
||||
|
||||
import styles from "./signupPromo.module.css"
|
||||
|
||||
@@ -18,7 +19,7 @@ export default function SignupPromoDesktop({
|
||||
return null
|
||||
}
|
||||
const { amount, currency } = memberPrice
|
||||
const price = intl.formatNumber(amount, { currency, style: "currency" })
|
||||
const price = formatPrice(intl, amount, currency)
|
||||
|
||||
return memberPrice ? (
|
||||
<div className={styles.memberDiscountBannerDesktop}>
|
||||
|
||||
Reference in New Issue
Block a user