Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Engineer] refactor form user files to move the function body directly in the index.tsx file without the extra file. #404

Open
kalasgarov opened this issue Dec 6, 2024 · 0 comments
Assignees

Comments

@kalasgarov
Copy link
Contributor

kalasgarov commented Dec 6, 2024

Description
The current structure of the form user components is inconsistent. Newer components follow the convention of importing and immediately exporting functionalities, while older components still include function bodies directly within the index.tsx file.

Objective
Refactor the files in the forms folder to align with the updated convention by moving function bodies directly into their respective index.tsx files.

Tasks

  • Identify all form user components within the forms folder.
  • For each component, move the function bodies from any separate implementation files directly into the index.tsx file.
  • Ensure imports and exports are correctly adjusted to maintain functionality.
  • Test each component to verify that no functionality is broken after refactoring.

Acceptance Criteria

  • All form user components in the forms folder follow the convention of having function bodies directly in their index.tsx files.
  • No existing functionality is broken as a result of this refactor.
  • The codebase is more consistent with the newer form user components structure.
@kalasgarov kalasgarov self-assigned this Dec 6, 2024
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

No branches or pull requests

1 participant