Files
medreport_mrb2b/app/doctor/page.tsx
2025-10-06 19:44:09 +03:00

27 lines
586 B
TypeScript

import { PageBody, PageHeader } from '@kit/ui/page';
import {
DoctorPageViewAction,
createDoctorPageViewLog,
} from '~/lib/services/audit/doctorPageView.service';
import DoctorDashboard from './_components/doctor-dashboard';
import { DoctorGuard } from './_components/doctor-guard';
async function DoctorPage() {
await createDoctorPageViewLog({
action: DoctorPageViewAction.VIEW_DASHBOARD,
});
return (
<>
<PageHeader />
<PageBody className="px-12">
<DoctorDashboard />
</PageBody>
</>
);
}
export default DoctorGuard(DoctorPage);