Skip to content

Commit

Permalink
Add camel case to hasActiveLoan
Browse files Browse the repository at this point in the history
  • Loading branch information
Nagesh Pai committed Mar 19, 2024
1 parent fa4bbd9 commit 844c9cc
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions client/overview/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ const OverviewPage = () => {
const {
accountStatus,
accountStatus: { progressiveOnboarding },
// eslint-disable-next-line camelcase
accountLoans: { has_active_loan },
accountLoans: { has_active_loan: hasActiveLoan },
enabledPaymentMethods,
featureFlags: { isPaymentOverviewWidgetEnabled },
overviewTasksVisibility,
Expand Down Expand Up @@ -217,14 +216,11 @@ const OverviewPage = () => {
accountFees={ activeAccountFees }
/>
</ErrorBoundary>
{
// eslint-disable-next-line camelcase
has_active_loan && (
<ErrorBoundary>
<ActiveLoanSummary />
</ErrorBoundary>
)
}
{ hasActiveLoan && (
<ErrorBoundary>
<ActiveLoanSummary />
</ErrorBoundary>
) }
{ ! accountRejected && ! accountUnderReview && (
<ErrorBoundary>
<InboxNotifications />
Expand Down

0 comments on commit 844c9cc

Please sign in to comment.