Skip to content

Commit

Permalink
fix logic show support text
Browse files Browse the repository at this point in the history
  • Loading branch information
nkdengineer committed Oct 23, 2024
1 parent 7218dd8 commit d1d2cc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ReportActionItem/ReportPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ function ReportPreview({
)}
</View>
</View>
{shouldShowSubtitle && supportText && (
{shouldShowSubtitle && !!supportText && (
<View style={styles.flexRow}>
<View style={[styles.flex1, styles.flexRow, styles.alignItemsCenter]}>
<Text style={[styles.textLabelSupporting, styles.textNormal, styles.lh20]}>{supportText}</Text>
Expand Down

0 comments on commit d1d2cc3

Please sign in to comment.