From 30597205d6aca831f23a3a6b683ce3d90779d226 Mon Sep 17 00:00:00 2001 From: Maxim Date: Tue, 17 Sep 2024 20:25:32 +0500 Subject: [PATCH] Hotfix2 --- src/frontend/overlay/src/components/atoms/ShrinkingBox.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/overlay/src/components/atoms/ShrinkingBox.jsx b/src/frontend/overlay/src/components/atoms/ShrinkingBox.jsx index 7b1e1caf..466f87ce 100644 --- a/src/frontend/overlay/src/components/atoms/ShrinkingBox.jsx +++ b/src/frontend/overlay/src/components/atoms/ShrinkingBox.jsx @@ -69,7 +69,7 @@ export const ShrinkingBox = memo(({ useEffect(() => { return () => { if(observerRef.current !== null) { - observerRef.disconnect(); + observerRef.current.disconnect(); } }; });