Skip to content

Commit

Permalink
Prevent undefined country codes
Browse files Browse the repository at this point in the history
  • Loading branch information
puntope committed Dec 12, 2023
1 parent dfe8920 commit 7c7ee87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export default function SetupPaidAds() {
eventName="gla_onboarding_complete_with_paid_ads_button_click"
eventProps={ {
budget: paidAds.amount,
audiences: paidAds.countryCodes.join( ',' ),
audiences: paidAds.countryCodes?.join( ',' ),
} }
/>
</Flex>
Expand Down

0 comments on commit 7c7ee87

Please sign in to comment.