Skip to content

Commit

Permalink
removed unused references from ui PatientResultsPage
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Alexander committed Nov 6, 2023
1 parent ae218df commit 8129760
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/src/pages/patientResultPage/PatientResultPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ function PatientResultPage({ role }: Props) {
const [patientDetails] = usePatientDetailsContext();
const navigate = useNavigate();
const [inputError, setInputError] = useState('');
// const { register, handleSubmit, formState, getFieldState } = useForm();
// const { ref: patientStatusRef, ...radioProps } = register('patientStatus');
// const { isDirty: isPatientStatusDirty } = getFieldState('patientStatus', formState);
const { handleSubmit, formState } = useForm();

const submit = (fieldValues: FieldValues) => {
if (userIsGPAdmin || userIsGPClinical) {
Expand Down

0 comments on commit 8129760

Please sign in to comment.