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"