Skip to content

Commit

Permalink
Merge pull request #18 from MrMuzyk/fix/ts-fixes
Browse files Browse the repository at this point in the history
Fix/ts fixes
  • Loading branch information
MrMuzyk authored Feb 6, 2024
2 parents c3d63f9 + 5ab9677 commit 398d7ac
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function Confirmation({reimbursementAccount, reimbursementAccountDraft, onNext,
/>
)}
<View style={[styles.ph5, styles.mtAuto]}>
{error.length > 0 && (
{error && error.length > 0 && (
<DotIndicatorMessage
textStyles={[styles.formError]}
type="error"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function ConfirmationUBO({reimbursementAccount, reimbursementAccountDraft, onNex
</TextLink>
</Text>
<View style={[styles.ph5, styles.mtAuto]}>
{error.length > 0 && (
{error && error.length > 0 && (
<DotIndicatorMessage
textStyles={[styles.formError]}
type="error"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function CompanyOwnersListUBO({
</View>

<View style={[styles.ph5, styles.mtAuto]}>
{error.length > 0 && (
{error && error.length > 0 && (
<DotIndicatorMessage
textStyles={[styles.formError]}
type="error"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function Confirmation({reimbursementAccount, reimbursementAccountDraft, onNext,
</TextLink>
</Text>
<View style={[styles.ph5, styles.mtAuto]}>
{error.length > 0 && (
{error && error.length > 0 && (
<DotIndicatorMessage
textStyles={[styles.formError]}
type="error"
Expand Down

0 comments on commit 398d7ac

Please sign in to comment.