bug checking the withBa

This commit is contained in:
lingdocs 2022-04-13 18:23:14 +05:00
parent 7a066d2090
commit 5c712e8c7b
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@lingdocs/pashto-inflector", "name": "@lingdocs/pashto-inflector",
"version": "2.0.2", "version": "2.0.3",
"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",

View File

@ -31,7 +31,7 @@ const answerFeedback: CSSProperties = {
} }
const checkDuration = 400; const checkDuration = 400;
const stageLength = 6; const stageLength = 5;
type QuizState = ({ type QuizState = ({
stage: "multiple choice", stage: "multiple choice",
@ -154,7 +154,7 @@ function VPExplorerQuiz(props: {
<div className="text-muted my-3">Type the <strong>verb in Pashto script</strong> to finish the phrase:</div> <div className="text-muted my-3">Type the <strong>verb in Pashto script</strong> to finish the phrase:</div>
<form onSubmit={e => { <form onSubmit={e => {
e.preventDefault(); e.preventDefault();
checkAnswer({ text: answerBlank, withBa: false }); checkAnswer({ text: answerBlank, withBa });
}}> }}>
<div className="mb-3" style={{ maxWidth: "250px", margin: "0 auto"}}> <div className="mb-3" style={{ maxWidth: "250px", margin: "0 auto"}}>
<input <input