@elice/material-quiz 1.240620.0-editorevent.0 → 1.240621.0

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.
@@ -100,7 +100,7 @@ const MaterialQuizSelectOne = () => {
100
100
  }, [materialQuiz, userId]);
101
101
  // submit handler
102
102
  const handleSubmit = async () => {
103
- if (!materialQuiz || !selectedAnswer) {
103
+ if (!materialQuiz || selectedAnswer === undefined) {
104
104
  return;
105
105
  }
106
106
  setSubmitStatus('pending');
@@ -96,7 +96,7 @@ const MaterialQuizSelectOne = () => {
96
96
  }, [materialQuiz, userId]);
97
97
  // submit handler
98
98
  const handleSubmit = async () => {
99
- if (!materialQuiz || !selectedAnswer) {
99
+ if (!materialQuiz || selectedAnswer === undefined) {
100
100
  return;
101
101
  }
102
102
  setSubmitStatus('pending');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elice/material-quiz",
3
- "version": "1.240620.0-editorevent.0",
3
+ "version": "1.240621.0",
4
4
  "description": "User view and editing components of Elice material quiz",
5
5
  "repository": "https://git.elicer.io/elice/frontend/library/elice-material",
6
6
  "license": "UNLICENSED",
@@ -64,8 +64,8 @@
64
64
  "@elice/icons-legacy": "npm:@elice/icons@0.230814.0",
65
65
  "@elice/intl": "0.240425.0-rc.2",
66
66
  "@elice/markdown": "^1.240124.0",
67
- "@elice/material-shared-types": "1.240620.0-editorevent.0",
68
- "@elice/material-shared-utils": "1.240620.0-editorevent.0",
67
+ "@elice/material-shared-types": "1.240621.0",
68
+ "@elice/material-shared-utils": "1.240621.0",
69
69
  "@elice/mui-system": "^5.240108.1",
70
70
  "@elice/types": "^1.240619.0",
71
71
  "@emotion/react": "^11.10.0",
@@ -87,5 +87,5 @@
87
87
  "react-use": "^17.2.4",
88
88
  "styled-components": "^5.3.0"
89
89
  },
90
- "gitHead": "d0b5976de6ea3217fe8472427c005fa77ae247fc"
90
+ "gitHead": "69057cf7b4c66dc5847770dc95597d2b9c6ba4a3"
91
91
  }