Исправлена ошибка работы панели импорта/экспорта

This commit is contained in:
Александр Сироткин 2022-11-21 11:20:40 +05:00
parent a9aeeb6da3
commit de7e8fd259

View File

@ -140,7 +140,7 @@ export const WellOperationsEditor = memo(({ idType, showNpt, ...other }) => {
useEffect(() => { useEffect(() => {
setTopRightBlock( setTopRightBlock(
<ImportExportBar onImported={updateOperations} /> <ImportExportBar well={well} onImported={updateOperations} />
) )
}, [well, setTopRightBlock, updateOperations]) }, [well, setTopRightBlock, updateOperations])