Skip to content

Commit

Permalink
update condition to render component
Browse files Browse the repository at this point in the history
  • Loading branch information
JavidSumra committed Oct 29, 2024
1 parent bc15ed9 commit 86df94b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Patient/SampleTest.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export const SampleTest = ({ facilityId, patientId }: any) => {
optionValue={(option) => option.id}
/>

{state.form.sample_type === "OTHER TYPE" && (
{state.form.sample_type === "9" && (
<TextAreaFormField
{...field("sample_type_other", "Sample Test Type Details")}
required
Expand Down

0 comments on commit 86df94b

Please sign in to comment.