diff --git a/packages/editor/src/components/post-title/index.native.js b/packages/editor/src/components/post-title/index.native.js index c41a1263b6a5ab..0215a0de1a1922 100644 --- a/packages/editor/src/components/post-title/index.native.js +++ b/packages/editor/src/components/post-title/index.native.js @@ -1,3 +1,8 @@ +/** + * External dependencies + */ +import { View } from 'react-native'; + /** * WordPress dependencies */ @@ -8,8 +13,9 @@ import { withDispatch } from '@wordpress/data'; import { withFocusOutside } from '@wordpress/components'; import { withInstanceId, compose } from '@wordpress/compose'; -import { View } from 'react-native'; - +/** + * Internal dependencies + */ import styles from './style.scss'; const minHeight = 30; @@ -30,8 +36,8 @@ class PostTitle extends Component { } componentDidMount() { - if ( this.props.ref ) { - this.props.ref( this ); + if ( this.props.innerRef ) { + this.props.innerRef( this ); } }