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.cjs CHANGED
@@ -37948,9 +37948,6 @@ var CampaignSeedCard = import_react65.default.memo(
37948
37948
  return providedFields || buildCampaignSeedFields(data);
37949
37949
  }, [providedFields, data]);
37950
37950
  const handleProceed = () => {
37951
- if (sendMessage) {
37952
- sendMessage("Continue to concepts");
37953
- }
37954
37951
  onAction?.({
37955
37952
  type: "brief_confirmation",
37956
37953
  value: "Continue to concepts",
@@ -38324,6 +38321,9 @@ var MCQCard = import_react67.default.memo(
38324
38321
  e.stopPropagation();
38325
38322
  if ((selectedOption || recommended) && !disabled && !isProceeded) {
38326
38323
  const result = selectedOption || recommended || "";
38324
+ if (!selectedOption && recommended) {
38325
+ setSelectedOption(recommended);
38326
+ }
38327
38327
  const rawLabel = options && options[result];
38328
38328
  const label = typeof rawLabel === "string" ? rawLabel : typeof rawLabel === "object" && rawLabel !== null ? rawLabel.label || rawLabel.description || result : result;
38329
38329
  setIsProceeded(true);