From c0d3027e654e0276dae6fd6b351f8da8e94441d6 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Wed, 6 Aug 2025 20:54:29 +0300 Subject: [PATCH] fix(react/dialogs): unnecessary listeners on modal render --- apps/client/src/widgets/react/Modal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/widgets/react/Modal.tsx b/apps/client/src/widgets/react/Modal.tsx index 1f020b56b..96f41076f 100644 --- a/apps/client/src/widgets/react/Modal.tsx +++ b/apps/client/src/widgets/react/Modal.tsx @@ -71,7 +71,7 @@ export default function Modal({ children, className, size, title, header, footer modalElement.removeEventListener("hidden.bs.modal", onHidden); } }; - }); + }, [ ]); } const dialogStyle: CSSProperties = {};