refactor(frontend): extract ProfileForm and PasswordChangeForm from ProfilePage
- Create components/profile/ProfileForm.jsx (192 lines) - Create components/profile/PasswordChangeForm.jsx (99 lines) - Create components/profile/index.js barrel export - Reduce ProfilePage.jsx from 394 → 84 lines (-79%)
This commit is contained in:
2
frontend/src/components/profile/index.js
Normal file
2
frontend/src/components/profile/index.js
Normal file
@@ -0,0 +1,2 @@
|
||||
export { default as ProfileForm } from './ProfileForm';
|
||||
export { default as PasswordChangeForm } from './PasswordChangeForm';
|
||||
Reference in New Issue
Block a user