diff --git a/src/components/modal/ConfirmationModal.tsx b/src/components/modal/ConfirmationModal.tsx index 98a0b51d..1486b6d5 100644 --- a/src/components/modal/ConfirmationModal.tsx +++ b/src/components/modal/ConfirmationModal.tsx @@ -167,49 +167,61 @@ const ConfirmationModal = ({ {children &&
{children}
} -
- {secondaryButton && secondaryButton.text && ( - - )} + {(secondaryButton || primaryButton) && ( +
+ {secondaryButton && secondaryButton.text && ( + + )} - {primaryButton && primaryButton.text && ( - - )} -
+ {primaryButton && primaryButton.text && ( + + )} +
+ )} );