From ba1c0ab6fb93658b2575388b1b76fe90bcba19c1 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 10 Nov 2024 16:36:14 +0000 Subject: [PATCH] fix: large closing --- extensions/react-widget/src/components/DocsGPTWidget.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/react-widget/src/components/DocsGPTWidget.tsx b/extensions/react-widget/src/components/DocsGPTWidget.tsx index e3cf7224..c74d658f 100644 --- a/extensions/react-widget/src/components/DocsGPTWidget.tsx +++ b/extensions/react-widget/src/components/DocsGPTWidget.tsx @@ -577,7 +577,7 @@ export const DocsGPTWidget = ({ setTimeout(() => setIsAnimatingButton(false), 200); }, 250) : - widgetRef.current && (widgetRef.current.style.display = "none") + widgetRef.current && (widgetRef.current.style.display = "none") && setIsFloatingButtonVisible(true); }; const handleOpen = () => { setOpen(true);