fix(#12): Ensure unit prices are displayed correctly

This commit is contained in:
Josh Creek
2024-05-15 16:13:27 +01:00
parent 79e421536c
commit 9f06073f64
2 changed files with 10 additions and 9 deletions
@@ -30,7 +30,7 @@
<h6
class="font-medium text-lg leading-8 text-indigo-600 max-[550px]:text-center pr-4 mr-4 border-r border-gray-200"
>
{ formatCurrency(price, currency) }
{formatCurrency(price, currency)}
</h6>
<p class="font-medium text-base leading-7 text-black">
Qty: <span class="text-gray-500">{quantity}</span>
@@ -45,7 +45,7 @@
<h6
class="text-indigo-600 font-manrope font-bold text-2xl leading-9 w-full max-w-[176px] text-center"
>
{ formatCurrency(price, currency) }
{formatCurrency(price * quantity, currency)}
</h6>
</div>
</div>