optimized-react-component-library-xyz123 0.34.3 → 0.35.1

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
@@ -1434,14 +1434,12 @@ function buildStepCategoryGroupQuestionStructure(questions, steps, validationErr
1434
1434
  for (const [category, groupMap] of Array.from(categoryMap.entries())) {
1435
1435
  const questionGroups = [];
1436
1436
  for (const [groupId, questions2] of Array.from(groupMap.entries())) {
1437
- console.log(questions2);
1438
1437
  const firstVisibleQuestion = questions2.find((q) => q.visible);
1439
- console.log(firstVisibleQuestion);
1440
1438
  questionGroups.push({
1441
1439
  questionGroupId: groupId,
1442
1440
  questionGroupType: questions2[0].questionGroupType,
1443
1441
  questions: questions2,
1444
- legend: firstVisibleQuestion.legend
1442
+ legend: firstVisibleQuestion == null ? void 0 : firstVisibleQuestion.legend
1445
1443
  });
1446
1444
  }
1447
1445
  const isVisible = questionGroups.some(