tf-checkout-react 1.0.57 → 1.0.58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,4 +21,4 @@ export interface IConfirmationPage {
21
21
  onGetConfirmationDataSuccess: (res: any) => void;
22
22
  onGetConfirmationDataError: (e: AxiosError) => void;
23
23
  }
24
- export declare const ConfirmationContainer: ({ referralPromotions, shareButtons, shareLink, onGetConfirmationDataSuccess, onGetConfirmationDataError, }: IConfirmationPage) => JSX.Element;
24
+ export declare const ConfirmationContainer: ({ isReferralEnabled, referralPromotions, shareButtons, shareLink, onGetConfirmationDataSuccess, onGetConfirmationDataError, }: IConfirmationPage) => JSX.Element;
@@ -3133,7 +3133,8 @@ var PaymentContainer = function PaymentContainer(_ref) {
3133
3133
 
3134
3134
  var defaultSvg = 'https://img.icons8.com/ios-filled/50/000000/facebook-new.svg';
3135
3135
  var ConfirmationContainer = function ConfirmationContainer(_ref) {
3136
- var _ref$referralPromotio = _ref.referralPromotions,
3136
+ var isReferralEnabled = _ref.isReferralEnabled,
3137
+ _ref$referralPromotio = _ref.referralPromotions,
3137
3138
  referralPromotions = _ref$referralPromotio === void 0 ? [] : _ref$referralPromotio,
3138
3139
  _ref$shareButtons = _ref.shareButtons,
3139
3140
  shareButtons = _ref$shareButtons === void 0 ? [] : _ref$shareButtons,
@@ -3204,7 +3205,7 @@ var ConfirmationContainer = function ConfirmationContainer(_ref) {
3204
3205
  className: "main"
3205
3206
  }, "Your tickets have been emailed to you"), React__default.createElement("span", {
3206
3207
  className: "helper"
3207
- }, "Please bring them with you to the event")), data.disable_referral === false && React__default.createElement(React__default.Fragment, null, React__default.createElement("div", {
3208
+ }, "Please bring them with you to the event")), data.disable_referral === false && isReferralEnabled && React__default.createElement(React__default.Fragment, null, React__default.createElement("div", {
3208
3209
  className: "referral_text_image_section"
3209
3210
  }, React__default.createElement("div", {
3210
3211
  className: "referral_text_section"