Skip to content

Commit

Permalink
Adding empty function to RichText children call.
Browse files Browse the repository at this point in the history
This fixes a crash originated on this PR:
#19536
`
  • Loading branch information
etoledom committed Jan 22, 2020
1 parent ee6cc56 commit 94f52b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/rich-text/src/component/index.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,7 @@ export class RichText extends Component {
isSelected,
value: record,
onChange: this.onFormatChange,
onFocus: () => {},
} ) }
<RCTAztecView
ref={ ( ref ) => {
Expand Down

0 comments on commit 94f52b5

Please sign in to comment.