Skip to content

Commit

Permalink
Remove unintended duplicate request (#8372)
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad authored Aug 20, 2024
1 parent 9a5e833 commit 0e25ace
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/Components/Facility/ConsultationForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -740,12 +740,6 @@ export const ConsultationForm = ({ facilityId, patientId, id }: Props) => {
patient_no: state.form.patient_no || null,
};

request(id ? routes.updateConsultation : routes.createConsultation, {
pathParams: id ? { id } : undefined,
body: data,
controllerRef: submitController,
});

const { data: obj } = await request(
id ? routes.updateConsultation : routes.createConsultation,
{
Expand Down

0 comments on commit 0e25ace

Please sign in to comment.