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
Chore/ml delete assets #7109
Chore/ml delete assets #7109
Conversation
Signed-off-by: soupette <cyril.lpz@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #7109 +/- ##
==========================================
- Coverage 26.23% 26.16% -0.07%
==========================================
Files 1131 1130 -1
Lines 15431 15411 -20
Branches 2442 2435 -7
==========================================
- Hits 4048 4033 -15
+ Misses 9564 9563 -1
+ Partials 1819 1815 -4
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@@ -333,11 +313,19 @@ const HomePage = () => { | |||
], | |||
}; | |||
|
|||
const handleRemoveFileFromDataToDelete = useCallback(id => { |
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.
Here, why do we need a useCallback ?
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.
It avoids rerenders
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.
LGTM
Description of what you did:
Improve the delete asset workflow