We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9072d9 commit a23160eCopy full SHA for a23160e
src/components/ImageContainer.jsx
@@ -242,9 +242,11 @@ class ImageContainer extends PureComponent {
242
}
243
244
callHandleEnd = () =>{
245
- this.isCalledHandleStart = false;
246
- if(this.props.handleEnd){
247
- this.props.handleEnd();
+ if(this.isCalledHandleStart){
+ this.isCalledHandleStart = false;
+ if(this.props.handleEnd){
248
+ this.props.handleEnd();
249
+ }
250
251
252
0 commit comments