l-min-components 1.7.1565 → 1.7.1566
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
|
@@ -24,7 +24,7 @@ import useReportUtils from "../hooks/useRreportUtils";
|
|
|
24
24
|
import GrammarV2 from "./components/Grammar.v2";
|
|
25
25
|
import useTranslation from "../../../hooks/useTranslation.jsx";
|
|
26
26
|
import wordStore from "../../../mc/wordStore.json";
|
|
27
|
-
import Comprehension from "./components/Comprehension.jsx";
|
|
27
|
+
// import Comprehension from "./components/Comprehension.jsx";
|
|
28
28
|
const FullAnalysis = ({ data, onClose, accountType }) => {
|
|
29
29
|
const { findText } = useTranslation(wordStore);
|
|
30
30
|
const { setRightLayout, setCenterLayoutStyle } = useContext(OutletContext);
|
|
@@ -244,9 +244,9 @@ const FullAnalysis = ({ data, onClose, accountType }) => {
|
|
|
244
244
|
setCheckingPlayingAudio={setCheckingPlayingAudio}
|
|
245
245
|
/>
|
|
246
246
|
)}
|
|
247
|
-
{selectedModel?.id === "comprehension" && (
|
|
247
|
+
{/* {selectedModel?.id === "comprehension" && (
|
|
248
248
|
<Comprehension Aidata={selectedModel} />
|
|
249
|
-
)}
|
|
249
|
+
)} */}
|
|
250
250
|
{selectedModel?.id === "grammar" && (
|
|
251
251
|
<>
|
|
252
252
|
{selectedModel?.version === 2 ? (
|
|
@@ -474,13 +474,13 @@ const quixSelectedModel = (response, aiData) => {
|
|
|
474
474
|
objectData["grammar"] = [findData];
|
|
475
475
|
}
|
|
476
476
|
|
|
477
|
-
if (aiData?.comprehension?.length && aiData?.comprehension) {
|
|
478
|
-
|
|
477
|
+
// if (aiData?.comprehension?.length && aiData?.comprehension) {
|
|
478
|
+
// const attemptResp = aiData?.comprehension?.[0]?.attempt_data_batch?.[0];
|
|
479
479
|
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
}
|
|
480
|
+
// if (attemptResp?.recording?.id === audioId || attemptResp?.id === audioId) {
|
|
481
|
+
// objectData["comprehension"] = aiData?.comprehension;
|
|
482
|
+
// }
|
|
483
|
+
// }
|
|
484
484
|
|
|
485
485
|
return objectData;
|
|
486
486
|
};
|