safegaurd conjugation - TODO: this should go in the actual conjugation function
This commit is contained in:
parent
8829d6cd26
commit
608253556d
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lingdocs/pashto-inflector",
|
||||
"version": "0.6.1",
|
||||
"version": "0.6.2",
|
||||
"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",
|
||||
|
|
|
@ -195,6 +195,7 @@ function ConjugationViewer({ entry, complement, textOptions, aayTailType }: {
|
|||
});
|
||||
|
||||
const conjugation = (() => {
|
||||
if (!(entry.c && entry.c.slice(0, 2) === "v.")) return undefined;
|
||||
try {
|
||||
return conjugateVerb(entry, aayTailType ? aayTailType : "aay", complement);
|
||||
} catch(e) {
|
||||
|
|
Loading…
Reference in New Issue