From ccadfc634bb1893fd0d7719ef91c4c80f2778993 Mon Sep 17 00:00:00 2001 From: Danilo Ercoli Date: Wed, 20 Feb 2019 12:58:16 +0100 Subject: [PATCH] The undelying RichText component implementation has changed the parameters returned onChange, and we forgot to update the PostTitle component --- packages/editor/src/components/post-title/index.native.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/editor/src/components/post-title/index.native.js b/packages/editor/src/components/post-title/index.native.js index 59079073a62c9..64420d84cfd21 100644 --- a/packages/editor/src/components/post-title/index.native.js +++ b/packages/editor/src/components/post-title/index.native.js @@ -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 } );