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

Fix "method_lines" issue in app/javascript/src/components/Map.jsx #13

Closed
adesurirey opened this issue Sep 8, 2019 · 1 comment
Closed

Comments

@adesurirey
Copy link
Owner

Function render has 50 lines of code (exceeds 25 allowed). Consider refactoring.

https://codeclimate.com/github/adesurirey/sargassum.watch/app/javascript/src/components/Map.jsx#issue_5d7559814a2f790001000071

@adesurirey
Copy link
Owner Author

Create a custom Map component will save some lines

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant