From e839a5f61f0faa21ca8b4bd5767f7575d5e576ee Mon Sep 17 00:00:00 2001 From: polwex Date: Wed, 21 May 2025 14:00:28 +0700 Subject: the card flip animation is legit --- src/zoom/ServerWord.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/zoom') diff --git a/src/zoom/ServerWord.tsx b/src/zoom/ServerWord.tsx index d98e54b..75b631d 100644 --- a/src/zoom/ServerWord.tsx +++ b/src/zoom/ServerWord.tsx @@ -39,9 +39,9 @@ export default async function Wordd({ lang: string; }) { const data = db.fetchWordBySpelling(word, "en"); - console.log({ data, word }); if (!data) return

oh...

; + console.log(data.senses[0]); return ( @@ -125,10 +125,10 @@ const ExampleDisplay = ({ examples }: { examples: Example[] }) => {
  • "{ex.text}" {ex.ref && ( - ({ex.ref}) + ({ex.ref}) )} {ex.type !== "quote" && ( - + {ex.type} )} @@ -162,7 +162,7 @@ const RelatedTermsDisplay = ({ {term.word} {/*term.source && ( - ({term.source}) + ({term.source}) )*/} {idx < terms.length - 1 && ", "} @@ -207,7 +207,7 @@ const SubSenseDisplay = ({ {subSense.categories.map((cat, idx) => ( {cat} @@ -229,7 +229,7 @@ const SubSenseDisplay = ({ {subSense.tags.map((tag, idx) => ( {tag} -- cgit v1.2.3