sending comments fixes pxls

This commit is contained in:
2025-06-09 19:04:18 +05:00
parent 29a29d53a0
commit 364db1adf7
7 changed files with 93 additions and 79 deletions
+8
View File
@@ -38,6 +38,14 @@ function ModalContainer() {
};
}, []);
useEffect(() => {
if (!modal) return;
document.body.style.overflow = "hidden";
return () => {
document.body.style.overflow = "auto";
};
}, [modal]);
return (
<AnimatePresence>
{modal && (