diff --git a/packages/core/src/components/Modal/Modal/Modal.tsx b/packages/core/src/components/Modal/Modal/Modal.tsx index e22d1b961b..4f627ff430 100644 --- a/packages/core/src/components/Modal/Modal/Modal.tsx +++ b/packages/core/src/components/Modal/Modal/Modal.tsx @@ -103,9 +103,6 @@ const Modal = forwardRef( : modalAnimationCenterPopVariants; const zIndexStyle = zIndex ? ({ "--monday-modal-z-index": zIndex } as React.CSSProperties) : {}; - // useEffect(() => { - // containerRef.current?.style?.setProperty("--monday-modal-z-index", zIndex?.toString() || ""); - // }, [zIndex, containerRef]); return (