diff --git a/src/lib/np-tools.ts b/src/lib/np-tools.ts index b28ee84..9edc80d 100644 --- a/src/lib/np-tools.ts +++ b/src/lib/np-tools.ts @@ -166,7 +166,7 @@ export function getEnglishVerb(entry: T.DictionaryEntry): string { throw new Error("no english information for verb"); } if (entry.ep) { - const ec = entry.ec.includes(",") ? parseEc(entry.ec) : entry.ec; + const ec = entry.ec.includes(",") ? parseEc(entry.ec)[0] : entry.ec; return `to ${ec} ${entry.ep}`; } const ec = parseEc(entry.ec);