diff --git a/app/README.md b/app/README.md index a7e8baae9..d3b5596d4 100644 --- a/app/README.md +++ b/app/README.md @@ -22,7 +22,7 @@ The National Document Repository user interface (UI) has been developed with Rea ### 1. Set Env Variables -In the app/ directory create a `.env` file by duplicating [.env.template](.env.template) and adding any missing values. This file is sourced to +In the app/ directory create a `.env` file by duplicating the [.env.template](.env.template) and adding any missing values. This file is sourced to your shell env so make sure it doesn't have any extra whitespace, comments etc. The `local` environment variable will allow your local app to bypass auth and mock most lambda requests. diff --git a/app/src/components/blocks/_lloydGeorge/lloydGeorgeViewRecordStage/LloydGeorgeViewRecordStage.tsx b/app/src/components/blocks/_lloydGeorge/lloydGeorgeViewRecordStage/LloydGeorgeViewRecordStage.tsx index d71693b82..f4affc42c 100644 --- a/app/src/components/blocks/_lloydGeorge/lloydGeorgeViewRecordStage/LloydGeorgeViewRecordStage.tsx +++ b/app/src/components/blocks/_lloydGeorge/lloydGeorgeViewRecordStage/LloydGeorgeViewRecordStage.tsx @@ -128,7 +128,10 @@ function LloydGeorgeViewRecordStage({ Exit full screen ) : ( - + )} {!fullScreen && userIsGpAdminNonBSOL && (
diff --git a/app/src/components/generic/backButton/BackButton.tsx b/app/src/components/generic/backButton/BackButton.tsx index d6b7507ba..e25b57a00 100644 --- a/app/src/components/generic/backButton/BackButton.tsx +++ b/app/src/components/generic/backButton/BackButton.tsx @@ -14,7 +14,7 @@ const BackButton = ({ toLocation, backLinkText = 'Go back' }: BackButtonProps) = const onBack = (e: MouseEvent) => { e.preventDefault(); - if (toLocation) navigate(toLocation); + if (toLocation) navigate(toLocation); else navigate(-1); }; diff --git a/app/src/pages/patientResultPage/PatientResultPage.tsx b/app/src/pages/patientResultPage/PatientResultPage.tsx index 85433fc54..8e85b611f 100644 --- a/app/src/pages/patientResultPage/PatientResultPage.tsx +++ b/app/src/pages/patientResultPage/PatientResultPage.tsx @@ -8,7 +8,6 @@ import ErrorBox from '../../components/layout/errorBox/ErrorBox'; import { REPOSITORY_ROLE } from '../../types/generic/authRole'; import useRole from '../../helpers/hooks/useRole'; import usePatient from '../../helpers/hooks/usePatient'; -import ServiceDeskLink from '../../components/generic/serviceDeskLink/ServiceDeskLink'; import useTitle from '../../helpers/hooks/useTitle'; import PatientSummary from '../../components/generic/patientSummary/PatientSummary'; @@ -80,13 +79,13 @@ function PatientResultPage() { {isGp && ( <>

- This page displays the current data recorded in the Patient Demographic Service - for this patient. + This page displays the current data recorded in the Patient Demographic + Service for this patient.

)}