Skip to content

Refactor: Refactored setting and profile#50

Open
danieltate888 wants to merge 1 commit intodevfrom
refactor/CP-86-refactoring-and-modularise-account
Open

Refactor: Refactored setting and profile#50
danieltate888 wants to merge 1 commit intodevfrom
refactor/CP-86-refactoring-and-modularise-account

Conversation

@danieltate888
Copy link

Refactored setting and profile:

  • Rewrite the two page.tsx from arc/app/(protected)/account/ files to fit the refactoring.
  • Added ProfilePage.tsx to module/account/profile/ as entrance file.
  • Added SettingPage.tsx to module/account/setting/ as entrance file.
  • Added "@/module/": ["module/"], to tsconfig.json to use the @ alias.
  • Moved ProfileBasicComponents.tsx file to module/account/profile/.
  • Moved ProfileMain.tsx file to module/account/profile/.
  • Modified the routeConfig.ts, from component: () => JSX.Element to component: React.ComponentType to fit the different component type.

Resolve CP-86

Refactored setting and profile:
- Rewrite the two page.tsx from arc/app/(protected)/account/ files to fit the refactoring.
- Added ProfilePage.tsx to module/account/profile/ as entrance file.
- Added SettingPage.tsx to module/account/setting/ as entrance file.
- Added "@/module/*": ["module/*"], to tsconfig.json to use the @ alias.
- Moved ProfileBasicComponents.tsx file to module/account/profile/.
- Moved ProfileMain.tsx file to module/account/profile/.
- Modified the routeConfig.ts, from component: () => JSX.Element to
  component: React.ComponentType to fit the different component type.

Resolve CP-86
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant