optimized-react-component-library-xyz123 0.34.2 → 0.34.4

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.js CHANGED
@@ -1439,7 +1439,7 @@ function buildStepCategoryGroupQuestionStructure(questions, steps, validationErr
1439
1439
  questionGroupId: groupId,
1440
1440
  questionGroupType: questions2[0].questionGroupType,
1441
1441
  questions: questions2,
1442
- legend: firstVisibleQuestion.legend
1442
+ legend: firstVisibleQuestion == null ? void 0 : firstVisibleQuestion.legend
1443
1443
  });
1444
1444
  }
1445
1445
  const isVisible = questionGroups.some(