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

Refactoring code in public/src/admin/manage/registration.js #170

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ozcansid000
Copy link

I created four helper functions to replace the four levels of nested function() which made the file difficult to read. The helper functions are called handleUserAction(), handleInvitationAction(), confirmAndDeleteInvitation(), removeRow(). This resolves #72

@coveralls
Copy link

Pull Request Test Coverage Report for Build 12939787645

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.003%) to 82.668%

Totals Coverage Status
Change from base Build 12896760049: -0.003%
Covered Lines: 22323
Relevant Lines: 25582

💛 - Coveralls

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.

Refactoring code in public/src/admin/manage/registration.js
2 participants