-
Notifications
You must be signed in to change notification settings - Fork 23
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
changed index.jsx class to functional #101
changed index.jsx class to functional #101
Conversation
[ci skip] [skip ci]
thanks @rohit-yadavv we will review the code |
@rohit-yadavv did you tried running the example in local? |
@ansulagrawal No, i haven't setup project locally i just changed file from class based to functional |
@ansulagrawal I will check it locally and will update you soon |
class Scheduler extends Component { | ||
constructor(props) { | ||
super(props); | ||
function Scheduler(props) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Function Scheduler
has a Cognitive Complexity of 66 (exceeds 5 allowed). Consider refactoring.
Code Climate has analyzed commit 5b4c6ac and detected 5 issues on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
@rohit-yadavv did you check in the local, is it working? |
@rohit-yadavv I didn't heard from you anyting so I am closing this pr |
fixes #85
made src/components/index.js from class to functional component