Skip to content

Commit

Permalink
Fix lint error for PlainText
Browse files Browse the repository at this point in the history
  • Loading branch information
Tug committed Dec 18, 2018
1 parent 8880b53 commit 70faea5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/editor/src/components/plain-text/index.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ import { Component } from '@wordpress/element';
import styles from './style.scss';

export default class PlainText extends Component {
isIOS: boolean = Platform.OS === 'ios';
constructor() {
super( ...arguments );
this.isIOS = Platform.OS === 'ios';
}

componentDidMount() {
// if isSelected is true, we should request the focus on this TextInput
Expand Down

0 comments on commit 70faea5

Please sign in to comment.