Skip to content

Commit 8fb214d

Browse files
author
Amal Nazeem
authored
Merge pull request #5584 from PrashantMangukiya/prashant-5580
Step counter problem corrected on bank account step
2 parents e1d0220 + 9b67608 commit 8fb214d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/ReimbursementAccount/BankAccountStep.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ class BankAccountStep extends React.Component {
168168
<View style={[styles.flex1, styles.justifyContentBetween]}>
169169
<HeaderWithCloseButton
170170
title={this.props.translate('bankAccount.addBankAccount')}
171-
stepCounter={this.state.bankAccountAddMethod && {step: 1, total: 5}}
171+
stepCounter={subStep && {step: 1, total: 5}}
172172
onCloseButtonPress={Navigation.dismissModal}
173173
onBackButtonPress={() => setBankAccountSubStep(null)}
174174
shouldShowBackButton={Boolean(subStep)}

0 commit comments

Comments
 (0)