Skip to content

Commit

Permalink
Merge pull request #27747 from jayeshmangwani/trim_private_note_value
Browse files Browse the repository at this point in the history
Trim privateNote value before API call
  • Loading branch information
MariaHCD authored Sep 25, 2023
2 parents 2af1f9b + aa7937f commit bc06ca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/PrivateNotes/PrivateNotesEditPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function PrivateNotesEditPage({route, personalDetailsList, session, report}) {
);

const savePrivateNote = () => {
const editedNote = parser.replace(privateNote);
const editedNote = parser.replace(privateNote.trim());
Report.updatePrivateNotes(report.reportID, route.params.accountID, editedNote);
Keyboard.dismiss();

Expand Down

0 comments on commit bc06ca4

Please sign in to comment.