[fix-issue-15843] - Best practice
This commit is contained in:
parent
cfae5f91e6
commit
e1ec9fa13c
@ -337,7 +337,7 @@ class PresentationUploader extends Component {
|
||||
shouldUpdateState = true;
|
||||
const propsDiffs = propPresentations.filter(p =>
|
||||
!prevPropPresentations.some(presentation => p.id === presentation.id
|
||||
|| p.temporaryPresentationId === presentation.temporaryPresentationId))
|
||||
|| p.temporaryPresentationId === presentation.temporaryPresentationId));
|
||||
|
||||
propsDiffs.forEach(p => {
|
||||
const index = presState.findIndex(pres => {
|
||||
|
Loading…
Reference in New Issue
Block a user