fix: large closing

This commit is contained in:
Alex
2024-11-10 16:36:14 +00:00
parent eddafcfdfb
commit ba1c0ab6fb

View File

@@ -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);