Skip to content

Commit

Permalink
Merge pull request #11034 from rushatgabhane/rm-setNativeProps-edit
Browse files Browse the repository at this point in the history
ComposerEdit - Remove setNativeProps
  • Loading branch information
luacmartins authored Sep 21, 2022
2 parents f4cc957 + 01313c4 commit 23a8057
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/pages/home/report/ReportActionItemMessageEdit.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ class ReportActionItemMessageEdit extends React.Component {
* @param {String} newDraft
*/
updateDraft(newDraft) {
this.textInput.setNativeProps({text: newDraft});
this.setState({draft: newDraft});

// This component is rendered only when draft is set to a non-empty string. In order to prevent component
Expand Down

0 comments on commit 23a8057

Please sign in to comment.