Skip to content

Commit

Permalink
fixes nutrition tab showing nursing analysis (#6437)
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad authored Oct 12, 2023
1 parent 31b530a commit 5e3012a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { NutritionPlots } from "../Consultations/NutritionPlots";

const PageTitle = lazy(() => import("../../Common/PageTitle"));

export const ConsultationNeutritionTab = (props: ConsultationTabProps) => {
export const ConsultationNutritionTab = (props: ConsultationTabProps) => {
return (
<div>
<PageTitle title="Nutrition" hideBack={true} breadcrumbs={false} />
Expand Down
3 changes: 2 additions & 1 deletion src/Components/Facility/ConsultationDetails/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ import { ConsultationVentilatorTab } from "./ConsultationVentilatorTab";
import { ConsultationPressureSoreTab } from "./ConsultationPressureSoreTab";
import { ConsultationDialysisTab } from "./ConsultationDialysisTab";
import { ConsultationNeurologicalMonitoringTab } from "./ConsultationNeurologicalMonitoringTab";
import { ConsultationNutritionTab } from "./ConsultationNutritionTab";

const Loading = lazy(() => import("../../Common/Loading"));
const PageTitle = lazy(() => import("../../Common/PageTitle"));
Expand All @@ -65,7 +66,7 @@ const TABS = {
NURSING: ConsultationNursingTab,
NEUROLOGICAL_MONITORING: ConsultationNeurologicalMonitoringTab,
VENTILATOR: ConsultationVentilatorTab,
NUTRITION: ConsultationNursingTab,
NUTRITION: ConsultationNutritionTab,
PRESSURE_SORE: ConsultationPressureSoreTab,
DIALYSIS: ConsultationDialysisTab,
};
Expand Down

0 comments on commit 5e3012a

Please sign in to comment.