Skip to content

Commit

Permalink
components names fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
burczu committed Nov 18, 2024
1 parent a4d4624 commit c975b61
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/pages/ReimbursementAccount/NonUSD/Agreements/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type AgreementsProps = {

const bodyContent: Array<ComponentType<SubStepProps>> = [Confirmation];

function Index({onBackButtonPress, onSubmit}: AgreementsProps) {
function Agreements({onBackButtonPress, onSubmit}: AgreementsProps) {
const {translate} = useLocalize();

const submit = () => {
Expand All @@ -41,7 +41,7 @@ function Index({onBackButtonPress, onSubmit}: AgreementsProps) {

return (
<InteractiveStepWrapper
wrapperID={Index.displayName}
wrapperID={Agreements.displayName}
handleBackButtonPress={handleBackButtonPress}
headerTitle={translate('agreementsStep.agreements')}
stepNames={CONST.NON_USD_BANK_ACCOUNT.STEP_NAMES}
Expand All @@ -56,6 +56,6 @@ function Index({onBackButtonPress, onSubmit}: AgreementsProps) {
);
}

Index.displayName = 'Agreements';
Agreements.displayName = 'Agreements';

export default Index;
export default Agreements;
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import BankInfo from './NonUSD/BankInfo/BankInfo';
import BeneficialOwnerInfo from './NonUSD/BeneficialOwnerInfo/BeneficialOwnerInfo';
import BusinessInfo from './NonUSD/BusinessInfo/BusinessInfo';
import Country from './NonUSD/Country/Country';
import Finish from './NonUSD/Finish/Finish';
import Finish from './NonUSD/Finish';
import SignerInfo from './NonUSD/SignerInfo';
import RequestorStep from './RequestorStep';

Expand Down

0 comments on commit c975b61

Please sign in to comment.