Skip to content

Commit

Permalink
[PRMP-994] - Remove 'Go Back' button on patient search page (#447)
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammadIqbalAD-NHS authored Oct 8, 2024
1 parent acd8d0c commit 09f8582
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/src/pages/patientSearchPage/PatientSearchPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import ServiceError from '../../components/layout/serviceErrorBox/ServiceErrorBo
import { usePatientDetailsContext } from '../../providers/patientProvider/PatientProvider';
import getPatientDetails from '../../helpers/requests/getPatientDetails';
import { SEARCH_STATES } from '../../types/pages/patientSearchPage';
import BackButton from '../../components/generic/backButton/BackButton';
import { AxiosError } from 'axios';
import { PatientDetails } from '../../types/generic/patientDetails';
import { buildPatientDetails } from '../../helpers/test/testBuilders';
Expand Down Expand Up @@ -94,7 +93,6 @@ function PatientSearchPage() {
};
return (
<>
<BackButton />
{submissionState === SEARCH_STATES.FAILED && (
<>
{isError ? (
Expand Down

0 comments on commit 09f8582

Please sign in to comment.