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.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.57",
2
+ "version": "1.0.58",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -35,6 +35,7 @@ const defaultSvg =
35
35
  'https://img.icons8.com/ios-filled/50/000000/facebook-new.svg'
36
36
 
37
37
  export const ConfirmationContainer = ({
38
+ isReferralEnabled,
38
39
  referralPromotions = [],
39
40
  shareButtons = [],
40
41
  shareLink = '',
@@ -68,7 +69,7 @@ export const ConfirmationContainer = ({
68
69
  }
69
70
  })()
70
71
  }, [])
71
-
72
+
72
73
  return (
73
74
  <div className="confirmation-page">
74
75
  <p className="title">Your Tickets are Confirmed!</p>
@@ -76,7 +77,7 @@ export const ConfirmationContainer = ({
76
77
  <span className="main">Your tickets have been emailed to you</span>
77
78
  <span className="helper">Please bring them with you to the event</span>
78
79
  </div>
79
- {data.disable_referral === false && (
80
+ { data.disable_referral === false && isReferralEnabled && (
80
81
  <>
81
82
  <div className="referral_text_image_section">
82
83
  <div className="referral_text_section">