l-min-components 1.7.1540 → 1.7.1541

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.1540",
3
+ "version": "1.7.1541",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -102,6 +102,9 @@ const ReportQuestions = ({
102
102
  useEffect(() => {
103
103
  if (commentData?.length && findedQuestion?.question_id)
104
104
  setComment(commentData?.[0]);
105
+ else {
106
+ setComment(null);
107
+ }
105
108
  }, [commentData, findedQuestion?.question_id, questionActivityID]);
106
109
  useEffect(() => {
107
110
  if (findedQuestion?.question_id) {