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.cjs CHANGED
@@ -38321,6 +38321,9 @@ var MCQCard = import_react67.default.memo(
38321
38321
  e.stopPropagation();
38322
38322
  if ((selectedOption || recommended) && !disabled && !isProceeded) {
38323
38323
  const result = selectedOption || recommended || "";
38324
+ if (!selectedOption && recommended) {
38325
+ setSelectedOption(recommended);
38326
+ }
38324
38327
  const rawLabel = options && options[result];
38325
38328
  const label = typeof rawLabel === "string" ? rawLabel : typeof rawLabel === "object" && rawLabel !== null ? rawLabel.label || rawLabel.description || result : result;
38326
38329
  setIsProceeded(true);