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

Refactor code in src/categories/create.js #559

Open
heyanuja opened this issue Sep 5, 2024 · 2 comments
Open

Refactor code in src/categories/create.js #559

heyanuja opened this issue Sep 5, 2024 · 2 comments
Assignees

Comments

@heyanuja
Copy link

heyanuja commented Sep 5, 2024

Refactor src/categories/create.js to reduce cognitive complexity

File: src/categories/create.js

SonarCloud Warning: The cognitive complexity of this function is 17, but the allowed limit is 15.

Objective:

  • Refactor the code in src/categories/create.js to bring the cognitive complexity down from 17 to 15.
  • Ensure no new issues or warnings are introduced during the refactor.

Additional Information:
This refactor addresses a SonarCloud warning in the Adaptability category. I will update the issue once the refactor is complete.

@heyanuja
Copy link
Author

heyanuja commented Sep 5, 2024

I would like to work on this please!

Copy link

github-actions bot commented Sep 5, 2024

Great! I assigned you (@heyanuja) to the issue. Have fun working on it!

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