l-min-components 1.7.1513 → 1.7.1514

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "l-min-components",
3
- "version": "1.7.1513",
3
+ "version": "1.7.1514",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -100,24 +100,12 @@ const ReportQuestions = ({
100
100
  answerData,
101
101
  onSwitchQuestion,
102
102
  }) => {
103
- if (!(questionActivityID && questions?.length > 0 && answerData)) {
104
- return null;
105
- }
106
-
107
103
  const findedQuestion = questions?.find(
108
104
  (question) => question?.question_activity_id === questionActivityID
109
105
  );
110
106
 
111
- if (!findedQuestion) {
112
- return null;
113
- }
114
-
115
107
  const questionType = getQuestionInfo(findedQuestion)?.type;
116
108
 
117
- if (!questionType) {
118
- return null;
119
- }
120
-
121
109
  const [comment, setComment] = useState(null);
122
110
 
123
111
  const [intructorScore, setInstructorScore] = useState(0);