Skip to content

Commit

Permalink
The undelying RichText component implementation has changed the param…
Browse files Browse the repository at this point in the history
…eters returned onChange, and we forgot to update the PostTitle component (#13967)
  • Loading branch information
daniloercoli authored Feb 20, 2019
1 parent 2240dcf commit ece3caf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/editor/src/components/post-title/index.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ class PostTitle extends Component {
} ] }
fontSize={ 24 }
fontWeight={ 'bold' }
onChange={ ( event ) => {
this.props.onUpdate( event.content );
onChange={ ( value ) => {
this.props.onUpdate( value );
} }
onContentSizeChange={ ( event ) => {
this.setState( { aztecHeight: event.aztecHeight } );
Expand Down

0 comments on commit ece3caf

Please sign in to comment.