* add doctor jobs view * change translation * another translation change * clean up * add analaysis detail view to paths config * translation * merge fix * fix path * move components to shared * refactor * imports * clean up
23 lines
623 B
TypeScript
23 lines
623 B
TypeScript
import { PageBody, PageHeader } from '@kit/ui/page';
|
|
|
|
import { getUserDoneResponsesAction } from '@kit/doctor/actions/table-data-fetching-actions';
|
|
import ResultsTableWrapper from '../_components/results-table-wrapper';
|
|
import { DoctorGuard } from '../_components/doctor-guard';
|
|
|
|
async function CompletedJobsPage() {
|
|
return (
|
|
<>
|
|
<PageHeader />
|
|
<PageBody>
|
|
<ResultsTableWrapper
|
|
titleKey="doctor:completedReviews"
|
|
action={getUserDoneResponsesAction}
|
|
queryKey="doctor-done-jobs"
|
|
/>
|
|
</PageBody>
|
|
</>
|
|
);
|
|
}
|
|
|
|
export default DoctorGuard(CompletedJobsPage);
|