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