error on selecting tenseCategory
This commit is contained in:
parent
21c5c63fec
commit
9b5e19f39e
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@lingdocs/pashto-inflector",
|
"name": "@lingdocs/pashto-inflector",
|
||||||
"version": "2.0.4",
|
"version": "2.0.5",
|
||||||
"author": "lingdocs.com",
|
"author": "lingdocs.com",
|
||||||
"description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations",
|
"description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations",
|
||||||
"homepage": "https://verbs.lingdocs.com",
|
"homepage": "https://verbs.lingdocs.com",
|
||||||
|
|
|
@ -166,7 +166,7 @@ function TensePicker({ onChange, vps, mode }: {
|
||||||
label: "Modal",
|
label: "Modal",
|
||||||
value: "modal",
|
value: "modal",
|
||||||
}]}
|
}]}
|
||||||
handleChange={mode === "quiz" ? onTenseCategorySelect : () => null}
|
handleChange={mode !== "quiz" ? onTenseCategorySelect : () => null}
|
||||||
/>
|
/>
|
||||||
</div>}
|
</div>}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -87,7 +87,7 @@ function VPExplorerQuiz(props: {
|
||||||
}, checkDuration * 2);
|
}, checkDuration * 2);
|
||||||
} else {
|
} else {
|
||||||
playAudio(`wrong-${randFromArray([1,2])}`);
|
playAudio(`wrong-${randFromArray([1,2])}`);
|
||||||
navigator.vibrate(250);
|
navigator.vibrate(300);
|
||||||
setQuizState({
|
setQuizState({
|
||||||
...quizState,
|
...quizState,
|
||||||
result: "fail",
|
result: "fail",
|
||||||
|
|
Loading…
Reference in New Issue