Skip to content

Commit

Permalink
fix the lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
nihal467 committed Aug 21, 2024
1 parent d09a822 commit 28b8701
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Components/Facility/ConsultationForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,8 @@ export const ConsultationForm = ({ facilityId, patientId, id }: Props) => {
admitted: data.admitted ? String(data.admitted) : "false",
admitted_to: data.admitted_to ? data.admitted_to : "",
category: data.category
? PATIENT_CATEGORIES.find((i) => i.text === data.category)?.id ??
""
? (PATIENT_CATEGORIES.find((i) => i.text === data.category)?.id ??
"")
: "",
patient_no: data.patient_no ?? "",
OPconsultation: data.consultation_notes,
Expand Down
4 changes: 2 additions & 2 deletions vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default {
port: 4000,
proxy: {
"/api": {
target: process.env.CARE_API ?? "https://careapi.ohc.network",
target: process.env.CARE_API ?? "http://localhost:9000/",
changeOrigin: true,
},
},
Expand All @@ -100,7 +100,7 @@ export default {
port: 4000,
proxy: {
"/api": {
target: process.env.CARE_API ?? "https://careapi.ohc.network",
target: process.env.CARE_API ?? "http://localhost:9000/",
changeOrigin: true,
},
},
Expand Down

0 comments on commit 28b8701

Please sign in to comment.