Skip to content

Commit

Permalink
Update DailyRounds.tsx
Browse files Browse the repository at this point in the history
Made the changes where handled error in blood pressure field
  • Loading branch information
kushalbhana authored Aug 5, 2024
1 parent 2a4510c commit 1827362
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Components/Patient/DailyRounds.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ export const DailyRounds = (props: any) => {
if (error) {
errors.bp = error;
invalidForm = true;
scrollTo('bloodPressure');

Check failure on line 243 in src/Components/Patient/DailyRounds.tsx

View workflow job for this annotation

GitHub Actions / lint

Strings must use doublequote
}
return;
}
Expand Down Expand Up @@ -592,7 +593,7 @@ export const DailyRounds = (props: any) => {
<>
<h3 className="mb-6 md:col-span-2">Vitals</h3>

<BloodPressureFormField {...field("bp")} label="Blood Pressure" />
<BloodPressureFormField {...field("bp")} label="Blood Pressure" id='bloodPressure'/>

<RangeAutocompleteFormField
{...field("pulse")}
Expand Down

0 comments on commit 1827362

Please sign in to comment.