Skip to content

Commit

Permalink
Move pages to export default for declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
Progi1984 committed Jan 18, 2024
1 parent 06aa047 commit 014c253
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/BO/dashboard/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ if (semver.gte(psVersion, '8.0.0')) {
dashboardPage = require('@versions/8.0.0/pages/BO/dashboard');
}
/* eslint-enable global-require */
module.exports = dashboardPage;
export default dashboardPage;
2 changes: 1 addition & 1 deletion src/pages/BO/login/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ if (semver.gte(psVersion, '8.0.0')) {
loginPage = require('@versions/8.0.0/pages/BO/login');
}
/* eslint-enable global-require */
module.exports = loginPage;
export default loginPage;

0 comments on commit 014c253

Please sign in to comment.