From 9be51e192fca8901d47328875d9e0c690d4b2b99 Mon Sep 17 00:00:00 2001 From: polwex Date: Sun, 17 Aug 2025 02:20:42 +0700 Subject: this was me. local LLM! --- src/pages/tones.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pages/tones.tsx') diff --git a/src/pages/tones.tsx b/src/pages/tones.tsx index 20c1237..066f3cb 100644 --- a/src/pages/tones.tsx +++ b/src/pages/tones.tsx @@ -20,13 +20,13 @@ async function randomTones(tries = 0) { console.log({ tones, toneStrings }); const initialWords = await fetchWordsByToneAndSyllables(tones); if (!initialWords || initialWords.length === 0) return randomTones(tries + 1); - else return {initialWords, tones}; + else return { initialWords, tones }; } // Function to fetch the initial word on the server async function InitialWordLoader() { // Fetch a random 1-syllable Thai word with any tone initially - const {initialWords, tones]} = await randomTones(); + const { initialWords, tones } = await randomTones(); return ; } -- cgit v1.2.3