From b886245b406ffd0ae972d216737a62236f2bc27b Mon Sep 17 00:00:00 2001 From: Maz Ahmadi Date: Thu, 15 Sep 2022 13:51:30 -0700 Subject: [PATCH] v2.0.3 - Fix iframe config keys --- package.json | 2 +- src/useEventbrite.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 6cce7ad..0c9be60 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-eventbrite-popup-checkout", - "version": "2.0.2", + "version": "2.0.3", "description": "A React component for the Eventbrite checkout widgets", "main": "dist/main.js", "types": "types.d.ts", diff --git a/src/useEventbrite.js b/src/useEventbrite.js index 30e461c..10790d6 100644 --- a/src/useEventbrite.js +++ b/src/useEventbrite.js @@ -71,9 +71,9 @@ const useEventbrite = ({ if (modal) { config.modalTriggerElementId = id; } else { - config.iFrameContainerId = id; - config.iFrameContainerHeight = iFrameHeight || 425; - config.iFrameAutoAdapt = iFrameAutoAdapt || 100; + config.iframeContainerId = id; + config.iframeContainerHeight = iFrameHeight || 425; + config.iframeAutoAdapt = iFrameAutoAdapt || 100; } if (promoCode) {