Skip to content

Commit 5caa270

Browse files
wrong event name changed.
1 parent 385bb96 commit 5caa270

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/PhotoMessage/PhotoMessage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export class PhotoMessage extends Component {
4242
alt={this.props.data.alt}
4343
onClick={this.props.onOpen}
4444
onLoad={this.props.onLoad}
45-
onPhotoError={this.props.onPhotoError}/>
45+
onError={this.props.onPhotoError}/>
4646
{
4747
error &&
4848
<div className="rce-mbox-photo--img__block">

0 commit comments

Comments
 (0)