From a3f24ea79b14394b24c4b60a010651eb29eeb872 Mon Sep 17 00:00:00 2001
From: polwex <polwex@sortug.com>
Date: Thu, 29 May 2025 12:10:22 +0700
Subject: glorious new db

---
 src/zoom/ServerWord.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/zoom/ServerWord.tsx')

diff --git a/src/zoom/ServerWord.tsx b/src/zoom/ServerWord.tsx
index 75b631d..712efb6 100644
--- a/src/zoom/ServerWord.tsx
+++ b/src/zoom/ServerWord.tsx
@@ -38,7 +38,7 @@ export default async function Wordd({
   word: string;
   lang: string;
 }) {
-  const data = db.fetchWordBySpelling(word, "en");
+  const data = db.fetchWordBySpelling(word, lang);
 
   if (!data) return <p>oh...</p>;
   console.log(data.senses[0]);
-- 
cgit v1.2.3

