fix: align price formatting
This commit is contained in:
@@ -5,6 +5,7 @@ import { InfoCircleIcon } from "@/components/Icons"
|
||||
import Button from "@/components/TempDesignSystem/Button"
|
||||
import Body from "@/components/TempDesignSystem/Text/Body"
|
||||
import Title from "@/components/TempDesignSystem/Text/Title"
|
||||
import { formatPrice } from "@/utils/numberFormatting"
|
||||
|
||||
import styles from "./priceChangeDialog.module.css"
|
||||
|
||||
@@ -51,10 +52,10 @@ export default function PriceChangeDialog({
|
||||
})}
|
||||
<br />
|
||||
<span className={styles.oldPrice}>
|
||||
{intl.formatNumber(oldPrice, { style: "currency", currency })}
|
||||
{formatPrice(intl, oldPrice, currency)}
|
||||
</span>{" "}
|
||||
<strong className={styles.newPrice}>
|
||||
{intl.formatNumber(newPrice, { style: "currency", currency })}
|
||||
{formatPrice(intl, newPrice, currency)}
|
||||
</strong>
|
||||
</Body>
|
||||
</header>
|
||||
|
||||
Reference in New Issue
Block a user