-
Notifications
You must be signed in to change notification settings - Fork 14
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
remove the empty function #17
Conversation
Here's the code health analysis summary for commits Analysis Summary
|
...dules/shopping-list/pages/add-products-shopping-list/add-products-shopping-list.component.ts
Outdated
Show resolved
Hide resolved
@Srijan25 If they are not related to an issue, they do not need to be made in this issue. That refactoring can be left for another issue. Anyway, as it is already done, we leave it as it is. |
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.
yeah sorry i didn't realise it was stuck in infinite loop i fixed it
...dules/shopping-list/pages/add-products-shopping-list/add-products-shopping-list.component.ts
Outdated
Show resolved
Hide resolved
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.
yeah i remove that logic because i think its unnecessary
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.
resolved
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.
can you check once
Read the recommendations given by deepsource, I believe that in this case it is ok to do so and there is no need to replace or delete it. https://app.deepsource.com/gh/despensa-app/despensa-web/issue/JS-0321/occurrences?listindex=0 For example in this PR #19, although I do not accept it for another reason, the solution is also valid for me. Sometimes the solution may be simpler than you think. |
correct this click code
remove the empty constructor