From e94022e1a916449aabaa5216694f596fa4f626d4 Mon Sep 17 00:00:00 2001 From: Jazlene Rae Guevarra Date: Thu, 31 Aug 2023 15:36:43 -0400 Subject: [PATCH] update floatEditor input logic --- src/common/gridCellEditors/floatEditor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/gridCellEditors/floatEditor.js b/src/common/gridCellEditors/floatEditor.js index f7db12b..1ed864b 100644 --- a/src/common/gridCellEditors/floatEditor.js +++ b/src/common/gridCellEditors/floatEditor.js @@ -8,7 +8,7 @@ const FloatEditor = forwardRef(({ }, ref) => { const [selectedValue, setSelectedValue] = useState(value); - const setTest = e => { + const setValue = e => { setSelectedValue(e.target.value); }; @@ -16,7 +16,7 @@ const FloatEditor = forwardRef(({ getValue: () => parseFloat(selectedValue) ? parseFloat(selectedValue) : 0, isCancelBeforeStart: () => false, })); - return (); + return (); }); export default FloatEditor;