This commit is contained in:
lingdocs 2022-06-20 17:55:31 -05:00
parent cf486df29c
commit 244763e086
1 changed files with 13 additions and 6 deletions

View File

@ -12,7 +12,6 @@ import { Link } from "react-router-dom";
import { VPExplorer } from "@lingdocs/pashto-inflector"; import { VPExplorer } from "@lingdocs/pashto-inflector";
import { entryFeeder } from "../lib/dictionary"; import { entryFeeder } from "../lib/dictionary";
import { import {
ConjugationViewer,
InflectionsTable, InflectionsTable,
inflectWord, inflectWord,
Types as T, Types as T,
@ -355,11 +354,19 @@ function EntryEditor({ isolatedEntry, dictionary, searchParams, textOptions, use
handleLinkClick="none" handleLinkClick="none"
/> />
</div>} </div>}
<ConjugationViewer {typePredicates.isVerbEntry({ entry, complement }) && <div className="pb-4">
entry={entry} <VPExplorer
complement={complement} verb={{
textOptions={textOptions} // TODO: CLEAN THIS UP!
/> // @ts-ignore
entry,
complement,
}}
opts={textOptions}
entryFeeder={entryFeeder}
handleLinkClick={"none"}
/>
</div>}
</div>} </div>}
</div>; </div>;
} }