From a2d641abdd665315014f3462fdd27a633483ff8c Mon Sep 17 00:00:00 2001 From: goodmice Date: Tue, 22 Nov 2022 07:24:23 +0500 Subject: [PATCH] =?UTF-8?q?Hotfix=20=D0=9E=D1=82=D0=BE=D0=B1=D1=80=D0=B0?= =?UTF-8?q?=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=B2=D0=B5=D1=80=D1=85=D0=BD?= =?UTF-8?q?=D0=B5=D0=B3=D0=BE=20=D0=B1=D0=BB=D0=BE=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Well/index.jsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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(() => { - + } /> } />