Skip to content

Commit

Permalink
♻️ update creativeUri to creativeUrls for creative input variable
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkjrs committed Oct 17, 2023
1 parent 56dc4a6 commit bcda4d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function PromoButton({

let [isSubmitted, setIsSubmitted] = useState(false);
let [isSubmitting, setIsSubmitting] = useState(false);
let [fileImage, setFileImage] = useState(options?.inputValues?.creativeUri);
let [fileImage, setFileImage] = useState(options?.inputValues?.creativeUrls);
let [imageUploadError, setImageUploadError] = useState(false);
let [targetLinkError, setTargetLinkError] = useState(false);
let [adTitle, setAdTitle] = useState(options?.inputValues?.adTitle);
Expand Down Expand Up @@ -140,7 +140,7 @@ function PromoButton({
content.setPromoData({
target: data.target_link,
budget: data.budget,
creativeUri: fileImage,
creativeUrls: fileImage,
adTitle: data.asset_title,
buttonText: data.buttonText,
adCallToAction: data.callToAction,
Expand Down

0 comments on commit bcda4d2

Please sign in to comment.