optimized-react-component-library-xyz123 0.23.3 → 0.23.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
@@ -120,12 +120,12 @@ var InputRadio = ({
120
120
  const languageObj = question.languageSupport[0];
121
121
  var optionsInfoText = [];
122
122
  if ("optionsInfoText" in languageObj) {
123
- optionsInfoText.push(languageObj.optionsInfoText);
123
+ optionsInfoText = languageObj.optionsInfoText;
124
124
  console.log(languageObj.optionsInfoText, "q", optionsInfoText, question);
125
125
  }
126
126
  console.log((_a = optionsInfoText.find(
127
127
  (op) => op.value === question.answer
128
- )) == null ? void 0 : _a.text);
128
+ )) == null ? void 0 : _a.text, question.answer);
129
129
  const handleInputChange = (event) => {
130
130
  const e = { target: { value: event.target.value } };
131
131
  handleQuestionInputChange(e, question);