diff --git a/packages/pl-fe/src/components/modal-root.tsx b/packages/pl-fe/src/components/modal-root.tsx index 88f2e6168..3179f1891 100644 --- a/packages/pl-fe/src/components/modal-root.tsx +++ b/packages/pl-fe/src/components/modal-root.tsx @@ -192,39 +192,32 @@ const ModalRoot: React.FC = ({ children, onCancel, onClose, type }) } }, [children]); - if (!visible) { - return ( -
- ); - } - return (
-