diff --git a/frontend/src/components/ModalWrapper/index.jsx b/frontend/src/components/ModalWrapper/index.jsx index b780e5731..7c45c22c5 100644 --- a/frontend/src/components/ModalWrapper/index.jsx +++ b/frontend/src/components/ModalWrapper/index.jsx @@ -1,7 +1,7 @@ import { createPortal } from "react-dom"; /** * @typedef {Object} ModalWrapperProps - * @property {import("react").ReactComponentElement} children - The DOM/JSX to render + * @property {import("react").ReactComponentElement} children - The DOM/JSX to render * @property {boolean} isOpen - Option that renders the modal * @property {boolean} noPortal - (default: false) Used for creating sub-DOM modals that need to be rendered as a child element instead of a modal placed at the root * Note: This can impact the bg-overlay presentation due to conflicting DOM positions so if using this property you should @@ -17,14 +17,14 @@ export default function ModalWrapper({ children, isOpen, noPortal = false }) { if (noPortal) { return ( -