diff options
| author | polwex <polwex@sortug.com> | 2025-11-23 13:29:28 +0700 |
|---|---|---|
| committer | polwex <polwex@sortug.com> | 2025-11-23 13:29:28 +0700 |
| commit | ba2dbc660c229d3e86662d35513dfa7c904d9870 (patch) | |
| tree | afdc039ac31587be0a3d089d024222fb2023fbe9 /packages/prosody-ui/src/latin | |
| parent | cb1b56f5a0eddbf77446f415f2beda57c8305f85 (diff) | |
Diffstat (limited to 'packages/prosody-ui/src/latin')
| -rw-r--r-- | packages/prosody-ui/src/latin/LatinText.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/prosody-ui/src/latin/LatinText.tsx b/packages/prosody-ui/src/latin/LatinText.tsx index e5b13ff..073baff 100644 --- a/packages/prosody-ui/src/latin/LatinText.tsx +++ b/packages/prosody-ui/src/latin/LatinText.tsx @@ -30,7 +30,7 @@ export default function LatinText({ }: { text: string; lang: string; - openWord?: (word: string) => void; + openWord?: (word: AnalyzeRes) => void; }) { useEffect(() => { const sentences = segmentate(text, lang, "sentence"); @@ -55,7 +55,7 @@ function Sentence({ text: string; lang: string; - openWord?: (word: string) => void; + openWord?: (word: AnalyzeRes) => void; }) { useEffect(() => { const w = segmentate(text, lang, "word"); |
