error on selecting tenseCategory

This commit is contained in:
lingdocs 2022-04-14 00:57:26 +05:00
parent 21c5c63fec
commit 9b5e19f39e
3 changed files with 3 additions and 3 deletions

View File

@ -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",

View File

@ -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>

View File

@ -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",