feat: SW-2028 Fix after rebase
This commit is contained in:
@@ -60,11 +60,15 @@ export default function PointsRateCard({
|
||||
</Typography>
|
||||
</header>
|
||||
<div className={styles.content}>
|
||||
<RadioGroup value={selectedRate} onChange={onRateSelect}>
|
||||
<RadioGroup
|
||||
aria-label={rateTitle}
|
||||
value={selectedRate}
|
||||
onChange={onRateSelect}
|
||||
>
|
||||
{rates.map((rate, index) => (
|
||||
<div key={index} className={styles.rateRow}>
|
||||
<Radio
|
||||
value={index.toString()}
|
||||
value={rate.rateCode}
|
||||
isDisabled={rate.isDisabled || isNotEnoughPoints}
|
||||
>
|
||||
<div className={styles.pointsRow}>
|
||||
@@ -73,7 +77,7 @@ export default function PointsRateCard({
|
||||
{`${rate.points} `}
|
||||
<Typography variant="Body/Supporting text (caption)/smBold">
|
||||
<span>
|
||||
{`${rate.currency} ${rate.additionalPrice && ' + '}`}
|
||||
{`${rate.currency} ${rate.additionalPrice ? ' + ' : ''}`}
|
||||
</span>
|
||||
</Typography>
|
||||
</p>
|
||||
@@ -83,7 +87,7 @@ export default function PointsRateCard({
|
||||
<p>
|
||||
{`${rate.additionalPrice.price} `}
|
||||
<Typography variant="Body/Supporting text (caption)/smBold">
|
||||
<span>{rate.currency}</span>
|
||||
<span>{rate.additionalPrice.currency}</span>
|
||||
</Typography>
|
||||
</p>
|
||||
</Typography>
|
||||
@@ -98,9 +102,9 @@ export default function PointsRateCard({
|
||||
<footer className={styles.footer}>
|
||||
<Typography variant="Body/Supporting text (caption)/smBold">
|
||||
<p className={styles.notEnoughPoints}>
|
||||
<div className={styles.filledIcon}>
|
||||
<span className={styles.filledIcon}>
|
||||
<MaterialIcon icon="info" isFilled size={20} />
|
||||
</div>
|
||||
</span>
|
||||
{notEnoughPointsText}
|
||||
</p>
|
||||
</Typography>
|
||||
|
||||
Reference in New Issue
Block a user