From 273887f025041631b0b495dc1c89e7c54818b6b3 Mon Sep 17 00:00:00 2001 From: Rio Knightley Date: Mon, 20 Nov 2023 09:28:33 +0000 Subject: [PATCH] Remove todo comments --- .../blocks/deleteDocumentsStage/DeleteDocumentsStage.tsx | 4 ---- .../deletionConfirmationStage/DeletionConfirmationStage.tsx | 4 ---- .../LloydGeorgeDownloadAllStage.tsx | 6 +----- 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/app/src/components/blocks/deleteDocumentsStage/DeleteDocumentsStage.tsx b/app/src/components/blocks/deleteDocumentsStage/DeleteDocumentsStage.tsx index 152822957..ef7140969 100644 --- a/app/src/components/blocks/deleteDocumentsStage/DeleteDocumentsStage.tsx +++ b/app/src/components/blocks/deleteDocumentsStage/DeleteDocumentsStage.tsx @@ -20,10 +20,6 @@ import useRole from '../../../helpers/hooks/useRole'; import { REPOSITORY_ROLE } from '../../../types/generic/authRole'; import { LG_RECORD_STAGE } from '../../../types/blocks/lloydGeorgeStages'; -/** - * TODO: REMOVE GP CLINICAL FROM COMPONENT & TESTS - */ - export type Props = { docType: DOCUMENT_TYPE; numberOfFiles: number; diff --git a/app/src/components/blocks/deletionConfirmationStage/DeletionConfirmationStage.tsx b/app/src/components/blocks/deletionConfirmationStage/DeletionConfirmationStage.tsx index 708909485..aec4bd13b 100644 --- a/app/src/components/blocks/deletionConfirmationStage/DeletionConfirmationStage.tsx +++ b/app/src/components/blocks/deletionConfirmationStage/DeletionConfirmationStage.tsx @@ -15,10 +15,6 @@ export type Props = { setStage?: Dispatch>; }; -/** - * TODO: REMOVE GP CLINICAL FROM COMPONENT & TESTS - */ - function DeletionConfirmationStage({ numberOfFiles, patientDetails, setStage }: Props) { const navigate = useNavigate(); const nhsNumber: string = patientDetails?.nhsNumber || ''; diff --git a/app/src/components/blocks/lloydGeorgeDownloadAllStage/LloydGeorgeDownloadAllStage.tsx b/app/src/components/blocks/lloydGeorgeDownloadAllStage/LloydGeorgeDownloadAllStage.tsx index 9444699f0..d5c0dbbae 100644 --- a/app/src/components/blocks/lloydGeorgeDownloadAllStage/LloydGeorgeDownloadAllStage.tsx +++ b/app/src/components/blocks/lloydGeorgeDownloadAllStage/LloydGeorgeDownloadAllStage.tsx @@ -9,19 +9,15 @@ import React, { } from 'react'; import { Card } from 'nhsuk-react-components'; import { Link } from 'react-router-dom'; -import { LG_RECORD_STAGE } from '../../../pages/lloydGeorgeRecordPage/LloydGeorgeRecordPage'; import { PatientDetails } from '../../../types/generic/patientDetails'; import { useBaseAPIUrl } from '../../../providers/configProvider/ConfigProvider'; import useBaseAPIHeaders from '../../../helpers/hooks/useBaseAPIHeaders'; import getPresignedUrlForZip from '../../../helpers/requests/getPresignedUrlForZip'; import { DOCUMENT_TYPE } from '../../../types/pages/UploadDocumentsPage/types'; import LgDownloadComplete from '../lloydGeorgeDownloadComplete/LloydGeorgeDownloadComplete'; +import { LG_RECORD_STAGE } from '../../../types/blocks/lloydGeorgeStages'; const FakeProgress = require('fake-progress'); -/** - * TODO: REMOVE GP CLINICAL FROM COMPONENT & TESTS - * - */ export type Props = { numberOfFiles: number; setStage: Dispatch>;