fix: large closing

This commit is contained in:
Alex committed 2024-11-10 16:36:14 +00:00
1 parent eddafcfdfb
commit ba1c0ab6fb
1 file changed
+1 -1
@@ -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);