We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 105301d commit abe1bb0Copy full SHA for abe1bb0
packages/compass-components/src/components/modals/confirmation-modal.tsx
@@ -17,7 +17,7 @@ function ConfirmationModal({
17
}: ConfirmationModalProps): React.ReactElement {
18
return (
19
<LeafyGreenConfirmationModal {...props}>
20
- <Body as="div">{children}</Body>
+ {props.open && <Body as="div">{children}</Body>}
21
</LeafyGreenConfirmationModal>
22
);
23
}
packages/compass-components/src/components/modals/marketing-modal.tsx
@@ -16,7 +16,7 @@ function MarketingModal({
16
}: MarketingModalProps): React.ReactElement {
<LeafyGreenMarketingModal {...props}>
</LeafyGreenMarketingModal>
0 commit comments