diff --git a/src/pages/Well/index.jsx b/src/pages/Well/index.jsx index a8145c5..44b22d9 100644 --- a/src/pages/Well/index.jsx +++ b/src/pages/Well/index.jsx @@ -64,6 +64,11 @@ const Well = memo(() => { { actionName: 'Изменение данных скважины', well } ), [well]) + const setBlock = useCallback((value) => { + setTopRightBlock(() => value) + return () => setTopRightBlock(undefined) + }, []) + useEffect(() => { invokeWebApiWrapperAsync( async () => { @@ -85,7 +90,7 @@ const Well = memo(() => { - + } /> } />