style(Coupon): insert a space after currency (#6888)

* feat(Coupon): add space

* feat(couponCell): update unit test
This commit is contained in:
Lindy
2020-07-28 23:00:55 +08:00
committed by GitHub
parent 75de51ebd4
commit 8bdaff57ca
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ function formatValue(props: CouponCellProps) {
if (coupon) {
const value = coupon.value || coupon.denominations || 0;
return `-${currency}${(value / 100).toFixed(2)}`;
return `-${currency} ${(value / 100).toFixed(2)}`;
}
return coupons.length === 0 ? t('tips') : t('count', coupons.length);