Repair image loaded event for ImgCover

This commit is contained in:
Qolzam
2017-07-06 12:25:15 +04:30
parent 26f69973b6
commit 11d0cbae39
2 changed files with 2 additions and 1 deletions

View File

@@ -153,6 +153,7 @@ export class ImgCover extends Component {
<div>Image has not loaded</div>
</div>
</div>
<img onLoad={this.handleLoadImage} src={this.props.avatarURL[fileName] || ''} style={{ display: 'none'}} />
</div>
)
}