From 5c712e8c7b8e83d91d06623805b2bdd90a30dfa4 Mon Sep 17 00:00:00 2001 From: lingdocs <71590811+lingdocs@users.noreply.github.com> Date: Wed, 13 Apr 2022 18:23:14 +0500 Subject: [PATCH] bug checking the withBa --- package.json | 2 +- src/components/vp-explorer/VPExplorerQuiz.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index e63642b..2b0c895 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/pashto-inflector", - "version": "2.0.2", + "version": "2.0.3", "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", diff --git a/src/components/vp-explorer/VPExplorerQuiz.tsx b/src/components/vp-explorer/VPExplorerQuiz.tsx index 7631862..40fbf97 100644 --- a/src/components/vp-explorer/VPExplorerQuiz.tsx +++ b/src/components/vp-explorer/VPExplorerQuiz.tsx @@ -31,7 +31,7 @@ const answerFeedback: CSSProperties = { } const checkDuration = 400; -const stageLength = 6; +const stageLength = 5; type QuizState = ({ stage: "multiple choice", @@ -154,7 +154,7 @@ function VPExplorerQuiz(props: {
Type the verb in Pashto script to finish the phrase:
{ e.preventDefault(); - checkAnswer({ text: answerBlank, withBa: false }); + checkAnswer({ text: answerBlank, withBa }); }}>