From b1728000d309fbc98e02da91fee054320f408acb Mon Sep 17 00:00:00 2001 From: lingdocs <71590811+lingdocs@users.noreply.github.com> Date: Sat, 11 Jun 2022 12:54:06 -0400 Subject: [PATCH] up --- package.json | 2 +- src/components/ep-explorer/EPDisplay.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index b285650..752fb9f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/pashto-inflector", - "version": "2.8.5", + "version": "2.8.6", "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/ep-explorer/EPDisplay.tsx b/src/components/ep-explorer/EPDisplay.tsx index 7257849..ad149dc 100644 --- a/src/components/ep-explorer/EPDisplay.tsx +++ b/src/components/ep-explorer/EPDisplay.tsx @@ -11,7 +11,7 @@ type Mode = "text" | "blocks"; function EPDisplay({ eps, opts, setOmitSubject }: { eps: T.EPSelectionState, opts: T.TextOptions, - setOmitSubject: (value: "true" | "false") => void, + setOmitSubject: ((value: "true" | "false") => void) | false }) { const [mode, setMode] = useState("text"); const EP = completeEPSelection(eps); @@ -35,7 +35,7 @@ function EPDisplay({ eps, opts, setOmitSubject }: { return
- + /> :
}
{mode === "text"