From d13d849379200d660d7e5e31e099d65154d324cf Mon Sep 17 00:00:00 2001 From: Jack Sutton Date: Thu, 12 Dec 2024 11:35:06 +0000 Subject: [PATCH 1/7] removes number of files and size of files from within record card --- .../download_lloyd_george_workflow.cy.js | 6 ------ .../view_lloyd_george_is_bsol_workflow.cy.js | 3 +-- .../LloydGeorgeDownloadStage.test.tsx | 1 - .../LloydGeorgeDownloadStage.tsx | 13 +------------ .../LloydGeorgeRecordDetails.test.tsx | 2 -- .../LloydGeorgeRecordDetails.tsx | 12 +----------- .../LloydGeorgeSelectDownloadStage.tsx | 1 - .../LloydGeorgeViewRecordStage.tsx | 16 ++-------------- 8 files changed, 5 insertions(+), 49 deletions(-) diff --git a/app/cypress/e2e/0-ndr-core-tests/gp_user_workflows/download_lloyd_george_workflow.cy.js b/app/cypress/e2e/0-ndr-core-tests/gp_user_workflows/download_lloyd_george_workflow.cy.js index 972cf3c4a..802440d69 100644 --- a/app/cypress/e2e/0-ndr-core-tests/gp_user_workflows/download_lloyd_george_workflow.cy.js +++ b/app/cypress/e2e/0-ndr-core-tests/gp_user_workflows/download_lloyd_george_workflow.cy.js @@ -171,9 +171,6 @@ describe('GP Workflow: View Lloyd George record', () => { // Assert contents of page when downloading cy.getByTestId('lloyd-george-download-header').should('exist'); cy.getByTestId('cancel-download-link').should('exist'); - cy.getByTestId('download-file-header-' + testFiles.length + '-files').should( - 'exist', - ); // Assert contents of page after download cy.wait('@documentManifestCompleted'); @@ -225,7 +222,6 @@ describe('GP Workflow: View Lloyd George record', () => { cy.title().should('eq', downloadingPageTitle); // Assert contents of page when downloading cy.getByTestId('lloyd-george-download-header').should('exist'); - cy.getByTestId('download-file-header-2-files').should('exist'); cy.getByTestId('cancel-download-link').should('exist'); @@ -289,8 +285,6 @@ describe('GP Workflow: View Lloyd George record', () => { cy.title().should('eq', downloadingPageTitle); // Assert contents of page when downloading cy.getByTestId('lloyd-george-download-header').should('exist'); - cy.getByTestId('download-file-header-1-files').should('exist'); - cy.getByTestId('cancel-download-link').should('exist'); // Assert contents of page after download diff --git a/app/cypress/e2e/0-ndr-core-tests/gp_user_workflows/view_lloyd_george_is_bsol_workflow.cy.js b/app/cypress/e2e/0-ndr-core-tests/gp_user_workflows/view_lloyd_george_is_bsol_workflow.cy.js index d60e248df..f9f13127f 100644 --- a/app/cypress/e2e/0-ndr-core-tests/gp_user_workflows/view_lloyd_george_is_bsol_workflow.cy.js +++ b/app/cypress/e2e/0-ndr-core-tests/gp_user_workflows/view_lloyd_george_is_bsol_workflow.cy.js @@ -95,8 +95,7 @@ describe('GP Workflow: View Lloyd George record', () => { assertPatientInfo(); cy.getByTestId('pdf-card') .should('include.text', 'Lloyd George record') - .should('include.text', 'Last updated: 09 October 2023 at 15:41:38') - .should('include.text', '12 files | File size: 502 KB | File format: PDF'); + .should('include.text', 'Last updated: 09 October 2023 at 15:41:38'); cy.getByTestId('pdf-viewer').should('be.visible'); // Act - open full screen view diff --git a/app/src/components/blocks/_lloydGeorge/lloydGeorgeDownloadStage/LloydGeorgeDownloadStage.test.tsx b/app/src/components/blocks/_lloydGeorge/lloydGeorgeDownloadStage/LloydGeorgeDownloadStage.test.tsx index 98869324b..4debed1a5 100644 --- a/app/src/components/blocks/_lloydGeorge/lloydGeorgeDownloadStage/LloydGeorgeDownloadStage.test.tsx +++ b/app/src/components/blocks/_lloydGeorge/lloydGeorgeDownloadStage/LloydGeorgeDownloadStage.test.tsx @@ -220,7 +220,6 @@ describe('LloydGeorgeDownloadStage', () => { const renderComponent = (history: MemoryHistory, propsOverride?: Partial) => { const props: Omit = { - numberOfFiles: mockPdf.numberOfFiles, deleteAfterDownload: false, ...propsOverride, }; diff --git a/app/src/components/blocks/_lloydGeorge/lloydGeorgeDownloadStage/LloydGeorgeDownloadStage.tsx b/app/src/components/blocks/_lloydGeorge/lloydGeorgeDownloadStage/LloydGeorgeDownloadStage.tsx index ae802cba1..ef961d83f 100644 --- a/app/src/components/blocks/_lloydGeorge/lloydGeorgeDownloadStage/LloydGeorgeDownloadStage.tsx +++ b/app/src/components/blocks/_lloydGeorge/lloydGeorgeDownloadStage/LloydGeorgeDownloadStage.tsx @@ -19,7 +19,6 @@ const FakeProgress = require('fake-progress'); export type Props = { deleteAfterDownload: boolean; selectedDocuments?: Array; - numberOfFiles: number; }; type DownloadLinkAttributes = { @@ -27,11 +26,7 @@ type DownloadLinkAttributes = { filename: string; }; -function LloydGeorgeDownloadStage({ - deleteAfterDownload = false, - selectedDocuments, - numberOfFiles, -}: Props) { +function LloydGeorgeDownloadStage({ deleteAfterDownload = false, selectedDocuments }: Props) { const timeToComplete = 600; const [progress, setProgress] = useState(0); const baseUrl = useBaseAPIUrl(); @@ -49,8 +44,6 @@ function LloydGeorgeDownloadStage({ const nhsNumber = patientDetails?.nhsNumber ?? ''; const [delayTimer, setDelayTimer] = useState(); - const pageDownloadCountId = 'download-file-header-' + numberOfFiles + '-files'; - const progressTimer = useMemo(() => { return new FakeProgress({ timeConstant: timeToComplete, @@ -145,7 +138,6 @@ function LloydGeorgeDownloadStage({ navigate, mockLocal, selectedDocuments, - numberOfFiles, ]); const pageHeader = 'Downloading documents'; @@ -157,9 +149,6 @@ function LloydGeorgeDownloadStage({

{pageHeader}

{patientDetails?.givenName + ' ' + patientDetails?.familyName}

NHS number: {patientDetails?.nhsNumber}

-

- Preparing download for {numberOfFiles} files -

diff --git a/app/src/components/blocks/_lloydGeorge/lloydGeorgeRecordDetails/LloydGeorgeRecordDetails.test.tsx b/app/src/components/blocks/_lloydGeorge/lloydGeorgeRecordDetails/LloydGeorgeRecordDetails.test.tsx index 8f095c460..739c7369b 100644 --- a/app/src/components/blocks/_lloydGeorge/lloydGeorgeRecordDetails/LloydGeorgeRecordDetails.test.tsx +++ b/app/src/components/blocks/_lloydGeorge/lloydGeorgeRecordDetails/LloydGeorgeRecordDetails.test.tsx @@ -31,8 +31,6 @@ describe('LloydGeorgeRecordDetails', () => { const renderComponent = (propsOverride?: Partial) => { const props: Props = { lastUpdated: mockPdf.lastUpdated, - numberOfFiles: mockPdf.numberOfFiles, - totalFileSizeInBytes: mockPdf.totalFileSizeInBytes, ...propsOverride, }; return render(); diff --git a/app/src/components/blocks/_lloydGeorge/lloydGeorgeRecordDetails/LloydGeorgeRecordDetails.tsx b/app/src/components/blocks/_lloydGeorge/lloydGeorgeRecordDetails/LloydGeorgeRecordDetails.tsx index 9105d05e0..7f33e2c0e 100644 --- a/app/src/components/blocks/_lloydGeorge/lloydGeorgeRecordDetails/LloydGeorgeRecordDetails.tsx +++ b/app/src/components/blocks/_lloydGeorge/lloydGeorgeRecordDetails/LloydGeorgeRecordDetails.tsx @@ -3,25 +3,15 @@ import formatFileSize from '../../../../helpers/utils/formatFileSize'; export type Props = { lastUpdated: string; - numberOfFiles: number; - totalFileSizeInBytes: number; }; -function LloydGeorgeRecordDetails({ lastUpdated, numberOfFiles, totalFileSizeInBytes }: Props) { +function LloydGeorgeRecordDetails({ lastUpdated }: Props) { return (
Last updated: {lastUpdated}
-
- {numberOfFiles} files - {' | '} - File size: {formatFileSize(totalFileSizeInBytes)} - {' | '} - File format: PDF - {' |'} -
); diff --git a/app/src/components/blocks/_lloydGeorge/lloydGeorgeSelectDownloadStage/LloydGeorgeSelectDownloadStage.tsx b/app/src/components/blocks/_lloydGeorge/lloydGeorgeSelectDownloadStage/LloydGeorgeSelectDownloadStage.tsx index b47fbd178..d6dec1ff3 100644 --- a/app/src/components/blocks/_lloydGeorge/lloydGeorgeSelectDownloadStage/LloydGeorgeSelectDownloadStage.tsx +++ b/app/src/components/blocks/_lloydGeorge/lloydGeorgeSelectDownloadStage/LloydGeorgeSelectDownloadStage.tsx @@ -150,7 +150,6 @@ function LloydGeorgeSelectDownloadStage({ } /> diff --git a/app/src/components/blocks/_lloydGeorge/lloydGeorgeViewRecordStage/LloydGeorgeViewRecordStage.tsx b/app/src/components/blocks/_lloydGeorge/lloydGeorgeViewRecordStage/LloydGeorgeViewRecordStage.tsx index eec37f8ab..9d30b156d 100644 --- a/app/src/components/blocks/_lloydGeorge/lloydGeorgeViewRecordStage/LloydGeorgeViewRecordStage.tsx +++ b/app/src/components/blocks/_lloydGeorge/lloydGeorgeViewRecordStage/LloydGeorgeViewRecordStage.tsx @@ -97,8 +97,6 @@ function LloydGeorgeViewRecordStage({ const recordDetailsProps: RecordDetailsProps = { downloadStage, lastUpdated, - numberOfFiles, - totalFileSizeInBytes, }; const pageHeader = 'Available records'; @@ -258,17 +256,9 @@ function LloydGeorgeViewRecordStage({ ); } -type RecordDetailsProps = Pick< - Props, - 'downloadStage' | 'lastUpdated' | 'numberOfFiles' | 'totalFileSizeInBytes' ->; +type RecordDetailsProps = Pick; -const RecordDetails = ({ - downloadStage, - lastUpdated, - numberOfFiles, - totalFileSizeInBytes, -}: RecordDetailsProps) => { +const RecordDetails = ({ downloadStage, lastUpdated }: RecordDetailsProps) => { switch (downloadStage) { case DOWNLOAD_STAGE.INITIAL: case DOWNLOAD_STAGE.PENDING: @@ -277,8 +267,6 @@ const RecordDetails = ({ case DOWNLOAD_STAGE.SUCCEEDED: { const detailsProps = { lastUpdated, - numberOfFiles, - totalFileSizeInBytes, }; return ; } From 5d8d7ba0524c7500231fbdbb7e11e81ff0a881c7 Mon Sep 17 00:00:00 2001 From: Jack Sutton Date: Thu, 12 Dec 2024 12:55:06 +0000 Subject: [PATCH 2/7] adds number of files downloading back --- .../LloydGeorgeDownloadStage.test.tsx | 1 + .../LloydGeorgeDownloadStage.tsx | 12 ++++++++++-- .../LloydGeorgeSelectDownloadStage.tsx | 1 + 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/app/src/components/blocks/_lloydGeorge/lloydGeorgeDownloadStage/LloydGeorgeDownloadStage.test.tsx b/app/src/components/blocks/_lloydGeorge/lloydGeorgeDownloadStage/LloydGeorgeDownloadStage.test.tsx index 4debed1a5..92712f6d7 100644 --- a/app/src/components/blocks/_lloydGeorge/lloydGeorgeDownloadStage/LloydGeorgeDownloadStage.test.tsx +++ b/app/src/components/blocks/_lloydGeorge/lloydGeorgeDownloadStage/LloydGeorgeDownloadStage.test.tsx @@ -222,6 +222,7 @@ const renderComponent = (history: MemoryHistory, propsOverride?: Partial) const props: Omit = { deleteAfterDownload: false, ...propsOverride, + numberOfFiles: mockPdf.numberOfFiles, }; return render( diff --git a/app/src/components/blocks/_lloydGeorge/lloydGeorgeDownloadStage/LloydGeorgeDownloadStage.tsx b/app/src/components/blocks/_lloydGeorge/lloydGeorgeDownloadStage/LloydGeorgeDownloadStage.tsx index ef961d83f..d43a23340 100644 --- a/app/src/components/blocks/_lloydGeorge/lloydGeorgeDownloadStage/LloydGeorgeDownloadStage.tsx +++ b/app/src/components/blocks/_lloydGeorge/lloydGeorgeDownloadStage/LloydGeorgeDownloadStage.tsx @@ -19,6 +19,7 @@ const FakeProgress = require('fake-progress'); export type Props = { deleteAfterDownload: boolean; selectedDocuments?: Array; + numberOfFiles: number; }; type DownloadLinkAttributes = { @@ -26,7 +27,11 @@ type DownloadLinkAttributes = { filename: string; }; -function LloydGeorgeDownloadStage({ deleteAfterDownload = false, selectedDocuments }: Props) { +function LloydGeorgeDownloadStage({ + deleteAfterDownload = false, + selectedDocuments, + numberOfFiles, +}: Props) { const timeToComplete = 600; const [progress, setProgress] = useState(0); const baseUrl = useBaseAPIUrl(); @@ -36,7 +41,7 @@ function LloydGeorgeDownloadStage({ deleteAfterDownload = false, selectedDocumen filename: '', }); const linkRef = useRef(null); - + const pageDownloadCountId = 'download-file-header-' + numberOfFiles + '-files'; const mounted = useRef(false); const navigate = useNavigate(); const { mockLocal } = useConfig(); @@ -149,6 +154,9 @@ function LloydGeorgeDownloadStage({ deleteAfterDownload = false, selectedDocumen

{pageHeader}

{patientDetails?.givenName + ' ' + patientDetails?.familyName}

NHS number: {patientDetails?.nhsNumber}

+

+ Preparing download for {numberOfFiles} files +

diff --git a/app/src/components/blocks/_lloydGeorge/lloydGeorgeSelectDownloadStage/LloydGeorgeSelectDownloadStage.tsx b/app/src/components/blocks/_lloydGeorge/lloydGeorgeSelectDownloadStage/LloydGeorgeSelectDownloadStage.tsx index d6dec1ff3..b47fbd178 100644 --- a/app/src/components/blocks/_lloydGeorge/lloydGeorgeSelectDownloadStage/LloydGeorgeSelectDownloadStage.tsx +++ b/app/src/components/blocks/_lloydGeorge/lloydGeorgeSelectDownloadStage/LloydGeorgeSelectDownloadStage.tsx @@ -150,6 +150,7 @@ function LloydGeorgeSelectDownloadStage({ } /> From 2dcf94e64eef4f2a26f2c6fc2f9a09de07a67f79 Mon Sep 17 00:00:00 2001 From: Jack Sutton Date: Thu, 12 Dec 2024 13:08:41 +0000 Subject: [PATCH 3/7] fixes tests --- .../LloydGeorgeRecordDetails.test.tsx | 5 ----- .../LloydGeorgeViewRecordStage.test.tsx | 5 ----- .../LloydGeorgeRecordPage.test.tsx | 20 ------------------- 3 files changed, 30 deletions(-) diff --git a/app/src/components/blocks/_lloydGeorge/lloydGeorgeRecordDetails/LloydGeorgeRecordDetails.test.tsx b/app/src/components/blocks/_lloydGeorge/lloydGeorgeRecordDetails/LloydGeorgeRecordDetails.test.tsx index 739c7369b..9003581e6 100644 --- a/app/src/components/blocks/_lloydGeorge/lloydGeorgeRecordDetails/LloydGeorgeRecordDetails.test.tsx +++ b/app/src/components/blocks/_lloydGeorge/lloydGeorgeRecordDetails/LloydGeorgeRecordDetails.test.tsx @@ -19,11 +19,6 @@ describe('LloydGeorgeRecordDetails', () => { renderComponent(); expect(screen.getByText(`Last updated: ${mockPdf.lastUpdated}`)).toBeInTheDocument(); - expect(screen.getByText(`${mockPdf.numberOfFiles} files`)).toBeInTheDocument(); - expect( - screen.getByText(`File size: ${formatFileSize(mockPdf.totalFileSizeInBytes)}`), - ).toBeInTheDocument(); - expect(screen.getByText('File format: PDF')).toBeInTheDocument(); }); }); }); diff --git a/app/src/components/blocks/_lloydGeorge/lloydGeorgeViewRecordStage/LloydGeorgeViewRecordStage.test.tsx b/app/src/components/blocks/_lloydGeorge/lloydGeorgeViewRecordStage/LloydGeorgeViewRecordStage.test.tsx index 7b3edf11f..5d1e77e7f 100644 --- a/app/src/components/blocks/_lloydGeorge/lloydGeorgeViewRecordStage/LloydGeorgeViewRecordStage.test.tsx +++ b/app/src/components/blocks/_lloydGeorge/lloydGeorgeViewRecordStage/LloydGeorgeViewRecordStage.test.tsx @@ -62,11 +62,6 @@ describe('LloydGeorgeViewRecordStage', () => { expect(screen.getByText('View in full screen')).toBeInTheDocument(); expect(screen.getByText('Lloyd George record')).toBeInTheDocument(); expect(screen.getByText(`Last updated: ${mockPdf.lastUpdated}`)).toBeInTheDocument(); - expect(screen.getByText(`${mockPdf.numberOfFiles} files`)).toBeInTheDocument(); - expect( - screen.getByText(`File size: ${formatFileSize(mockPdf.totalFileSizeInBytes)}`), - ).toBeInTheDocument(); - expect(screen.getByText('File format: PDF')).toBeInTheDocument(); expect( screen.queryByText('No documents are available for this patient.'), diff --git a/app/src/pages/lloydGeorgeRecordPage/LloydGeorgeRecordPage.test.tsx b/app/src/pages/lloydGeorgeRecordPage/LloydGeorgeRecordPage.test.tsx index 6fc97a136..05bd47de1 100644 --- a/app/src/pages/lloydGeorgeRecordPage/LloydGeorgeRecordPage.test.tsx +++ b/app/src/pages/lloydGeorgeRecordPage/LloydGeorgeRecordPage.test.tsx @@ -99,20 +99,6 @@ describe('LloydGeorgeRecordPage', () => { }); }); - it('calls refreshRecord and updates state when successful', async () => { - const lgResult = buildLgSearchResult(); - mockAxios.post.mockResolvedValue({ data: { jobStatus: 'Complete' } }); - mockAxios.get.mockResolvedValue({ data: lgResult }); - - renderPage(history); - - await waitFor(async () => { - expect(screen.getByText(`${lgResult.numberOfFiles} files`)).toBeInTheDocument(); - }); - - expect(screen.getByText('File format: PDF')).toBeInTheDocument(); - }); - it('renders initial lg record view with no docs available text if lambda return records status is uploading for more than 3 min', async () => { const errorResponse = { response: { @@ -199,12 +185,6 @@ describe('LloydGeorgeRecordPage', () => { expect(screen.getByText('Lloyd George record')).toBeInTheDocument(); expect(screen.queryByText('No documents are available')).not.toBeInTheDocument(); - - expect(screen.getByText(`${lgResult.numberOfFiles} files`)).toBeInTheDocument(); - expect( - screen.getByText(`File size: ${formatFileSize(lgResult.totalFileSizeInBytes)}`), - ).toBeInTheDocument(); - expect(screen.getByText('File format: PDF')).toBeInTheDocument(); }); describe('Accessibility', () => { From 958085ac997ce21656a57150c6b09e13f30ce3ae Mon Sep 17 00:00:00 2001 From: Jack Sutton Date: Thu, 12 Dec 2024 13:11:52 +0000 Subject: [PATCH 4/7] remove unnessecary import --- .../LloydGeorgeViewRecordStage.test.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/components/blocks/_lloydGeorge/lloydGeorgeViewRecordStage/LloydGeorgeViewRecordStage.test.tsx b/app/src/components/blocks/_lloydGeorge/lloydGeorgeViewRecordStage/LloydGeorgeViewRecordStage.test.tsx index 5d1e77e7f..607f541db 100644 --- a/app/src/components/blocks/_lloydGeorge/lloydGeorgeViewRecordStage/LloydGeorgeViewRecordStage.test.tsx +++ b/app/src/components/blocks/_lloydGeorge/lloydGeorgeViewRecordStage/LloydGeorgeViewRecordStage.test.tsx @@ -9,7 +9,6 @@ import useRole from '../../../../helpers/hooks/useRole'; import useIsBSOL from '../../../../helpers/hooks/useIsBSOL'; import useConfig from '../../../../helpers/hooks/useConfig'; import { act, render, screen, waitFor } from '@testing-library/react'; -import formatFileSize from '../../../../helpers/utils/formatFileSize'; import { DOWNLOAD_STAGE } from '../../../../types/generic/downloadStage'; import { getFormattedDate } from '../../../../helpers/utils/formatDate'; import userEvent from '@testing-library/user-event'; From 0668f1afc1fdd43f173d560bcaac3cff06018ded Mon Sep 17 00:00:00 2001 From: Jack Sutton Date: Thu, 12 Dec 2024 13:14:58 +0000 Subject: [PATCH 5/7] remove unnessecary import --- .../pages/lloydGeorgeRecordPage/LloydGeorgeRecordPage.test.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/pages/lloydGeorgeRecordPage/LloydGeorgeRecordPage.test.tsx b/app/src/pages/lloydGeorgeRecordPage/LloydGeorgeRecordPage.test.tsx index 05bd47de1..0872260b1 100644 --- a/app/src/pages/lloydGeorgeRecordPage/LloydGeorgeRecordPage.test.tsx +++ b/app/src/pages/lloydGeorgeRecordPage/LloydGeorgeRecordPage.test.tsx @@ -7,7 +7,6 @@ import { } from '../../helpers/test/testBuilders'; import { getFormattedDate } from '../../helpers/utils/formatDate'; import axios from 'axios'; -import formatFileSize from '../../helpers/utils/formatFileSize'; import usePatient from '../../helpers/hooks/usePatient'; import useConfig from '../../helpers/hooks/useConfig'; import useRole from '../../helpers/hooks/useRole'; From 93ce0e6623148bde243461684d6026c786fc625f Mon Sep 17 00:00:00 2001 From: Jack Sutton Date: Thu, 12 Dec 2024 13:17:02 +0000 Subject: [PATCH 6/7] remove unnessecary import --- .../lloydGeorgeRecordDetails/LloydGeorgeRecordDetails.test.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/components/blocks/_lloydGeorge/lloydGeorgeRecordDetails/LloydGeorgeRecordDetails.test.tsx b/app/src/components/blocks/_lloydGeorge/lloydGeorgeRecordDetails/LloydGeorgeRecordDetails.test.tsx index 9003581e6..d25188220 100644 --- a/app/src/components/blocks/_lloydGeorge/lloydGeorgeRecordDetails/LloydGeorgeRecordDetails.test.tsx +++ b/app/src/components/blocks/_lloydGeorge/lloydGeorgeRecordDetails/LloydGeorgeRecordDetails.test.tsx @@ -1,7 +1,6 @@ import { render, screen } from '@testing-library/react'; import LgRecordDetails, { Props } from './LloydGeorgeRecordDetails'; import { buildLgSearchResult } from '../../../../helpers/test/testBuilders'; -import formatFileSize from '../../../../helpers/utils/formatFileSize'; const mockPdf = buildLgSearchResult(); From 3ca2b1e546b9cfe9f53d28defd29041abe725f70 Mon Sep 17 00:00:00 2001 From: Jack Sutton Date: Thu, 12 Dec 2024 13:19:56 +0000 Subject: [PATCH 7/7] remove unnessecary import --- .../lloydGeorgeRecordDetails/LloydGeorgeRecordDetails.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/components/blocks/_lloydGeorge/lloydGeorgeRecordDetails/LloydGeorgeRecordDetails.tsx b/app/src/components/blocks/_lloydGeorge/lloydGeorgeRecordDetails/LloydGeorgeRecordDetails.tsx index 7f33e2c0e..3042f63d0 100644 --- a/app/src/components/blocks/_lloydGeorge/lloydGeorgeRecordDetails/LloydGeorgeRecordDetails.tsx +++ b/app/src/components/blocks/_lloydGeorge/lloydGeorgeRecordDetails/LloydGeorgeRecordDetails.tsx @@ -1,5 +1,4 @@ import React from 'react'; -import formatFileSize from '../../../../helpers/utils/formatFileSize'; export type Props = { lastUpdated: string;