From ec88f2af2e7df78d0b9b1d3114dca000cb947e4f Mon Sep 17 00:00:00 2001 From: Rushat Gabhane Date: Fri, 16 Sep 2022 05:45:16 +0530 Subject: [PATCH] composerEdit - rm setNative props --- src/pages/home/report/ReportActionItemMessageEdit.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pages/home/report/ReportActionItemMessageEdit.js b/src/pages/home/report/ReportActionItemMessageEdit.js index d3cb3ae0a3fc..8c844c50b516 100644 --- a/src/pages/home/report/ReportActionItemMessageEdit.js +++ b/src/pages/home/report/ReportActionItemMessageEdit.js @@ -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