From a465cce29dc3551ca32f22562234512c96857b85 Mon Sep 17 00:00:00 2001 From: rithviknishad Date: Fri, 6 Oct 2023 10:21:45 +0530 Subject: [PATCH] add comments --- src/Components/VitalsMonitor/HL7PatientVitalsMonitor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/VitalsMonitor/HL7PatientVitalsMonitor.tsx b/src/Components/VitalsMonitor/HL7PatientVitalsMonitor.tsx index 3199219c9dc..44cadd8263c 100644 --- a/src/Components/VitalsMonitor/HL7PatientVitalsMonitor.tsx +++ b/src/Components/VitalsMonitor/HL7PatientVitalsMonitor.tsx @@ -40,7 +40,7 @@ export default function HL7PatientVitalsMonitor(props: IVitalsComponentProps) { }, [props.socketUrl]); const bpWithinMaxPersistence = !!( - data.bp?.["date-time"] && isWithinMinutes(data.bp?.["date-time"], 30) + (data.bp?.["date-time"] && isWithinMinutes(data.bp?.["date-time"], 30)) // Max blood pressure persistence is 30 minutes ); return (