Skip to content

Commit

Permalink
v2.0.3 - Fix iframe config keys
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdshepard committed Sep 15, 2022
1 parent 65b7eef commit b886245
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
6 changes: 3 additions & 3 deletions src/useEventbrite.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b886245

Please sign in to comment.