{modalText}
- {isReport ? (
+ {isReport || isPromoModal ? (
setIssueText(e.target.value)}
- label={issueText ? "" : "Description of issue"}
+ label={
+ issueText
+ ? ""
+ : isPromoModal
+ ? "Enter your promotional code"
+ : "Description of issue"
+ }
/>
) : (
@@ -65,7 +74,7 @@ const ConfirmModal = ({
disabled={isBusy}
className="secondary-button"
onClick={onCancel}
- labelText="Cancel"
+ labelText={cancelButtonText ? cancelButtonText : "Cancel"}
/>