diff options
Diffstat (limited to 'src/zoom')
-rw-r--r-- | src/zoom/ServerWord.tsx | 2 | ||||
-rw-r--r-- | src/zoom/index.ts | 13 |
2 files changed, 13 insertions, 2 deletions
diff --git a/src/zoom/ServerWord.tsx b/src/zoom/ServerWord.tsx index 26902f5..d98e54b 100644 --- a/src/zoom/ServerWord.tsx +++ b/src/zoom/ServerWord.tsx @@ -39,7 +39,7 @@ export default async function Wordd({ lang: string; }) { const data = db.fetchWordBySpelling(word, "en"); - console.log({ data }); + console.log({ data, word }); if (!data) return <p>oh...</p>; return ( diff --git a/src/zoom/index.ts b/src/zoom/index.ts index 4ce07ca..bcda5a6 100644 --- a/src/zoom/index.ts +++ b/src/zoom/index.ts @@ -4,6 +4,17 @@ import FullText from "./FullText"; import Paragraph from "./Paragraph"; import Sentence from "./Paragraph"; import SpacyClause from "./SpacyClause"; +import Word from "./Word"; +import ServerWord from "./ServerWord"; import type * as Types from "./logic/types"; -export { App, Paragraph, FullText, Sentence, SpacyClause, Types }; +export { + App, + Paragraph, + FullText, + Sentence, + SpacyClause, + Types, + Word, + ServerWord, +}; |