From cecc0d85d2fd40514571794d48529d66867b1626 Mon Sep 17 00:00:00 2001 From: Ivo Hanak Date: Wed, 6 Mar 2024 18:06:01 +0100 Subject: [PATCH] Corrected typo --- ReactApp/src/components/SystemComponents/PV.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ReactApp/src/components/SystemComponents/PV.jsx b/ReactApp/src/components/SystemComponents/PV.jsx index 8aa46e25..ca999c8b 100644 --- a/ReactApp/src/components/SystemComponents/PV.jsx +++ b/ReactApp/src/components/SystemComponents/PV.jsx @@ -82,8 +82,8 @@ const PV = (props) => { pvData: processPvDataMin } ) : undefined; - const processPvDataLabel = useCallback((min) => { - setPvs((pvs) => ({...pvs, min})); + const processPvDataLabel = useCallback((label) => { + setPvs((pvs) => ({...pvs, label})); }, []); let labelPv = props.usePvLabel ? pvConnection(props.labelPv ? props.labelPv : props.pv + ".DESC",