Skip to content

Commit

Permalink
Corrected typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hanak committed Mar 6, 2024
1 parent 0fb3cf2 commit cecc0d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ReactApp/src/components/SystemComponents/PV.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit cecc0d8

Please sign in to comment.