From a74d3a3f356ea342207a186c36919788f8dfea9c Mon Sep 17 00:00:00 2001 From: lingdocs <71590811+lingdocs@users.noreply.github.com> Date: Wed, 30 Mar 2022 15:02:15 +0500 Subject: [PATCH] fixed error with the stative compounds not being labelled as compounds --- src/components/VerbPicker.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/VerbPicker.tsx b/src/components/VerbPicker.tsx index 02be5d3..66d468b 100644 --- a/src/components/VerbPicker.tsx +++ b/src/components/VerbPicker.tsx @@ -206,11 +206,11 @@ function makeVerbSelection(verb: VerbEntry, oldVerbSelection?: VerbSelection): V : (transitivity === "transitive") ? getTransObjFromOldVerbSelection() : "none"; - const isCompound = "stative" in info + const isCompound = ("stative" in info || info.type === "stative compound") ? "stative" : info.type === "dynamic compound" - ? "dynamic" - : false; + ? "dynamic" + : false; // TODO: here and below in the changeStatDyn function ... allow for entries with complement const dynAuxVerb: VerbEntry | undefined = isCompound !== "dynamic" ? undefined