diff --git a/docs/walkthroughs/installing-slate.md b/docs/walkthroughs/installing-slate.md index 2ca7264b5..184836011 100644 --- a/docs/walkthroughs/installing-slate.md +++ b/docs/walkthroughs/installing-slate.md @@ -82,7 +82,7 @@ class App extends React.Component { } // On change, update the app's React state with the new editor state. - onChange = (state) => { + onChange = ({ state }) => { this.setState({ state }) }