This commit is contained in:
lingdocs 2021-09-14 20:37:53 -04:00
parent d8ad220d5f
commit 69be75317b
2 changed files with 2 additions and 2 deletions

View File

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

@ -62,7 +62,7 @@ const InflectionTable = ({ inf, textOptions }: {
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{!isPluralInfs ? ["Plain", "1st", "2nd"] : ["Plural", "2nd"].map((title, i) => ( {(!isPluralInfs ? ["Plain", "1st", "2nd"] : ["Plural", "2nd"]).map((title, i) => (
<tr key={title}> <tr key={title}>
<th scope="row">{title}</th> <th scope="row">{title}</th>
{"masc" in inf && <TableCell item={inf.masc[i]} textOptions={textOptions} />} {"masc" in inf && <TableCell item={inf.masc[i]} textOptions={textOptions} />}