pxengine 0.1.70 → 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
@@ -38025,6 +38025,9 @@ var MCQCard = React97.memo(
38025
38025
  e.stopPropagation();
38026
38026
  if ((selectedOption || recommended) && !disabled && !isProceeded) {
38027
38027
  const result = selectedOption || recommended || "";
38028
+ if (!selectedOption && recommended) {
38029
+ setSelectedOption(recommended);
38030
+ }
38028
38031
  const rawLabel = options && options[result];
38029
38032
  const label = typeof rawLabel === "string" ? rawLabel : typeof rawLabel === "object" && rawLabel !== null ? rawLabel.label || rawLabel.description || result : result;
38030
38033
  setIsProceeded(true);