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

Updating function in readme.md (#2185)

Typo in function definition
This commit is contained in:
Maulik 2018-09-19 14:38:27 -04:00 committed by Ian Storm Taylor
parent 2a99679753
commit ebc72bf38f

View File

@ -16,7 +16,7 @@ class App extends React.Component {
value: Plain.deserialize(''),
}
onChange({ value }) {
onChange = ({ value }) => {
this.setState({ value })
}