Skip to content

Commit d41e655

Browse files
committed
fix: review feedback
1 parent 7560d1e commit d41e655

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

frontend/src/screens/alby/AlbyReviews.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,17 +120,17 @@ export function AlbyReviews() {
120120
))}
121121
</div>
122122
</div>
123-
<div className="text-right font-medium flex-shrink-0">
124-
{opportunity.reward ? (
123+
<div className="text-right font-medium shrink-0">
124+
{opportunity.reward !== undefined ? (
125125
<FormattedBitcoinAmount
126126
amount={opportunity.reward * 1000}
127127
/>
128-
) : (
129-
<span className="text-muted-foreground text-sm flex items-center gap-1">
128+
) : opportunity.rewardText ? (
129+
<span className="text-muted-foreground text-sm inline-flex items-center justify-end gap-1">
130130
<HeartIcon className="w-4 h-4" />
131131
{opportunity.rewardText}
132132
</span>
133-
)}
133+
) : null}
134134
</div>
135135
</div>
136136
))}

0 commit comments

Comments
 (0)