setTableRow in useTableValue

This commit is contained in:
Chika 2020-10-06 13:26:16 +03:00
parent f6115c6859
commit 8b1741e20b

View File

@ -51,16 +51,14 @@ export const useTableValue = ({ tableName, rowIndex, propName }) => {
useEffect(() => {
if (debouncedValue !== undefined)
calculationStore.setTableRows(
calculationStore.setTableRow(
tableName,
rowIndex,
)([
{
[propName]: {
value: debouncedValue,
},
)({
[propName]: {
value: debouncedValue,
},
]);
});
}, [debouncedValue]);
const cellCallBack =