optimized-react-component-library-xyz123 3.0.3 → 3.1.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
@@ -3358,6 +3358,7 @@ var QuestionGroup = ({
3358
3358
  });
3359
3359
  }, [questions]);
3360
3360
  const groupQuestions = /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_jsx_runtime25.Fragment, { children: questions.map((question, index) => {
3361
+ var _a2;
3361
3362
  return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react17.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
3362
3363
  QuestionRenderer_default,
3363
3364
  {
@@ -3366,7 +3367,7 @@ var QuestionGroup = ({
3366
3367
  activatedLanguage,
3367
3368
  showPreview
3368
3369
  }
3369
- ) }, "question-" + index);
3370
+ ) }, (_a2 = question.id) != null ? _a2 : "question-" + index);
3370
3371
  }) });
3371
3372
  switch (wrapperElement) {
3372
3373
  case "fieldset":