1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-02-01 05:16:10 +01:00

Docs: Remove leading semicolon in code snippet (#2020)

* Remove leading semicolon in code snippet

* Update changes.md
This commit is contained in:
Florian 2018-08-01 18:04:12 +02:00 committed by Ian Storm Taylor
parent 142d9a82f6
commit f7fd0b7a4e

View File

@ -112,7 +112,7 @@ class Image extends React.Component {
}
render() {
;<img {...this.props.attributes} onClick={this.onClick} />
return <img {...this.props.attributes} onClick={this.onClick} />
}
}
```