From 6c53b2a8966f0e1ff7a4c70fdf6150ebd180c5fb Mon Sep 17 00:00:00 2001 From: lingdocs <71590811+lingdocs@users.noreply.github.com> Date: Tue, 12 Apr 2022 17:20:28 +0500 Subject: [PATCH] oops --- package.json | 2 +- src/components/vp-explorer/VPExplorer.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index b1a02a1..6f09a60 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/pashto-inflector", - "version": "1.9.7", + "version": "1.9.8", "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/VPExplorer.tsx b/src/components/vp-explorer/VPExplorer.tsx index 6f00790..f266b79 100644 --- a/src/components/vp-explorer/VPExplorer.tsx +++ b/src/components/vp-explorer/VPExplorer.tsx @@ -349,10 +349,10 @@ function makeQuizState(oldVps: T.VPSelectionState): { VPS: T.VPSelectionState, q // don't do the SO switches every time const wholeTimeSOSwitch = randFromArray([true, false]); [1, 2, 3].forEach(() => { - // TODO: don't repeat tenses let v: T.VPSelectionState; do { const SOSwitch = wholeTimeSOSwitch && randFromArray([true, false]); + // TODO: if switich subj and obj, include the tense being correct maybe v = getRandomVPSelection("tenses")( SOSwitch ? switchSubjObj(vps) : vps, );