pxengine 0.1.69 → 0.1.71

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -37652,9 +37652,6 @@ var CampaignSeedCard = React95.memo(
37652
37652
  return providedFields || buildCampaignSeedFields(data);
37653
37653
  }, [providedFields, data]);
37654
37654
  const handleProceed = () => {
37655
- if (sendMessage) {
37656
- sendMessage("Continue to concepts");
37657
- }
37658
37655
  onAction?.({
37659
37656
  type: "brief_confirmation",
37660
37657
  value: "Continue to concepts",
@@ -38028,6 +38025,9 @@ var MCQCard = React97.memo(
38028
38025
  e.stopPropagation();
38029
38026
  if ((selectedOption || recommended) && !disabled && !isProceeded) {
38030
38027
  const result = selectedOption || recommended || "";
38028
+ if (!selectedOption && recommended) {
38029
+ setSelectedOption(recommended);
38030
+ }
38031
38031
  const rawLabel = options && options[result];
38032
38032
  const label = typeof rawLabel === "string" ? rawLabel : typeof rawLabel === "object" && rawLabel !== null ? rawLabel.label || rawLabel.description || result : result;
38033
38033
  setIsProceeded(true);