Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Commit

Permalink
fix: add ternary to tessen event to avoid sending empty array
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkmcadoo committed Dec 20, 2022
1 parent 0d0f674 commit acd6eb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/InstallButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ const InstallButton = ({
quickstartId: quickstart.id,
quickstartUrl: quickstart.packUrl,
super_tiles_treatment: treatment,
urlParameters: Object.entries([...parameters]),
urlParameters: parameters ? Object.entries([...parameters]) : null,
partner: isNRPartner(quickstart.keywords),
quickstartButtonText: hasInstallableComponent
? 'Install quickstart'
Expand Down

0 comments on commit acd6eb3

Please sign in to comment.