Skip to content

Commit

Permalink
Migrate @pages/FO/{classic|hummingbird}/myAccount from Core : Fixed…
Browse files Browse the repository at this point in the history
… import
  • Loading branch information
Progi1984 committed Jul 12, 2024
1 parent ef7f717 commit f6d0c5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/FO/classic/myAccount/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type {FoMyAccountPageInterface} from '@interfaces/FO/myAccount';

/* eslint-disable global-require, @typescript-eslint/no-var-requires */
function requirePage(): FoMyAccountPageInterface {
return require('@versions/classic/pages/FO/hummingbird/myAccount').myAccountPage;
return require('@versions/develop/pages/FO/classic/myAccount').myAccountPage;
}
/* eslint-enable global-require, @typescript-eslint/no-var-requires */

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ class MyAccountPage extends MyAccountPageVersion implements FoMyAccountPageInter
}
}

export default new MyAccountPage();
module.exports = new MyAccountPage();

0 comments on commit f6d0c5f

Please sign in to comment.