Fix bug in DialogContext.jsx

This commit is contained in:
Mathias Wagner
2024-08-03 19:52:01 +02:00
parent d63c140b17
commit 7139b82607
@@ -37,6 +37,8 @@ export const DialogProvider = (props) => {
}
document.addEventListener("mousedown", handleClick);
return () => document.removeEventListener("mousedown", handleClick);
}, [ref]);
return (