MED-137: add doctor other jobs view (#55)
* 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
This commit is contained in:
21
app/doctor/my-jobs/page.tsx
Normal file
21
app/doctor/my-jobs/page.tsx
Normal file
@@ -0,0 +1,21 @@
|
||||
import { getUserInProgressResponsesAction } from '@kit/doctor/actions/table-data-fetching-actions';
|
||||
import { PageBody, PageHeader } from '@kit/ui/page';
|
||||
import ResultsTableWrapper from '../_components/results-table-wrapper';
|
||||
import { DoctorGuard } from '../_components/doctor-guard';
|
||||
|
||||
async function MyReviewsPage() {
|
||||
return (
|
||||
<>
|
||||
<PageHeader />
|
||||
<PageBody>
|
||||
<ResultsTableWrapper
|
||||
titleKey="doctor:myReviews"
|
||||
action={getUserInProgressResponsesAction}
|
||||
queryKey="doctor-in-progress-jobs"
|
||||
/>
|
||||
</PageBody>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
export default DoctorGuard(MyReviewsPage);
|
||||
Reference in New Issue
Block a user