From a91d17ba71a2f1064607d8d148bd33506248d410 Mon Sep 17 00:00:00 2001 From: rithviknishad Date: Mon, 30 Dec 2024 09:29:48 +0530 Subject: [PATCH 1/2] fix new line issue in patient note card --- src/components/Facility/PatientNoteCard.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/Facility/PatientNoteCard.tsx b/src/components/Facility/PatientNoteCard.tsx index 4d5a9ffa89c..49c8cf4204b 100644 --- a/src/components/Facility/PatientNoteCard.tsx +++ b/src/components/Facility/PatientNoteCard.tsx @@ -213,7 +213,9 @@ const PatientNoteCard = ({ ) : ( -
{noteField}
+
+ {noteField} +
)} } From 8a898f41ffd919dedf7ea8a9cd8ea18d1ae3e514 Mon Sep 17 00:00:00 2001 From: rithviknishad Date: Mon, 30 Dec 2024 09:30:00 +0530 Subject: [PATCH 2/2] fix form enter key issue --- src/components/Form/Form.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/components/Form/Form.tsx b/src/components/Form/Form.tsx index 18f190ccc3c..5a3bf552b26 100644 --- a/src/components/Form/Form.tsx +++ b/src/components/Form/Form.tsx @@ -98,11 +98,6 @@ const Form = ({ return (
{ - if (e.key === "Enter") { - handleSubmit(e); - } - }} className={classNames( "mx-auto w-full", !props.noPadding && "px-8 py-5 md:px-16 md:py-11",