Skip to content

Commit

Permalink
Merge pull request Expensify#51999 from Expensify/vit-fixLint20241104
Browse files Browse the repository at this point in the history
[NoQA] Use boolean operator to fix lint
  • Loading branch information
mountiny authored Nov 4, 2024
2 parents 69276bd + bf25f8c commit 5620d2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/workspace/companyCards/addNew/DetailsStep.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ function DetailsStep({policyID}: DetailsStepProps) {
contentContainerStyle={styles.flexGrow1}
>
<Text style={[styles.textHeadlineLineHeightXXL, styles.ph5, styles.mv3]}>
{feedProvider && !isStripeFeedProvider ? translate(`workspace.companyCards.addNewCard.feedDetails.${feedProvider}.title`) : ''}
{!!feedProvider && !isStripeFeedProvider ? translate(`workspace.companyCards.addNewCard.feedDetails.${feedProvider}.title`) : ''}
</Text>
<FormProvider
formID={ONYXKEYS.FORMS.ADD_NEW_CARD_FEED_FORM}
Expand All @@ -189,7 +189,7 @@ function DetailsStep({policyID}: DetailsStepProps) {
enabledWhenOffline
>
{renderInputs()}
{feedProvider && !isStripeFeedProvider && (
{!!feedProvider && !isStripeFeedProvider && (
<View style={[styles.flexRow, styles.alignItemsCenter]}>
<Icon
src={Expensicons.QuestionMark}
Expand Down

0 comments on commit 5620d2a

Please sign in to comment.