From 8578700cc6b113de145d835a47db31f3e421a6ca Mon Sep 17 00:00:00 2001 From: rithviknishad Date: Fri, 15 Mar 2024 14:37:49 +0530 Subject: [PATCH] minor fix --- src/Components/Facility/ConsultationForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Facility/ConsultationForm.tsx b/src/Components/Facility/ConsultationForm.tsx index 402221596ad..70e78ccb3c8 100644 --- a/src/Components/Facility/ConsultationForm.tsx +++ b/src/Components/Facility/ConsultationForm.tsx @@ -761,7 +761,7 @@ export const ConsultationForm = ({ facilityId, patientId, id }: Props) => { weight: Number(state.form.weight), height: Number(state.form.height), bed: bed && bed instanceof Array ? bed[0]?.id : bed?.id, - patient_no: state.form.patient_no, + patient_no: state.form.patient_no || null, }; const res = await dispatchAction(