trying to fix a few bugs, not a lot! still not figured out the bug

This commit is contained in:
RezHackXYZ 2025-05-04 07:10:22 +05:30
parent 63ac193583
commit 31b546725c
2 changed files with 17 additions and 10 deletions

View file

@ -1,6 +1,6 @@
import wordExists from "word-exists";
import { generate } from "random-words";
import { onMount } from "svelte";
import { SetdataTo } from "./InfoAndSetings/stats.svelte";
export let WordLegnth = $state({ v: 5 });
@ -8,6 +8,7 @@ let CorrectWord = generate({
minLength: WordLegnth.v,
maxLength: WordLegnth.v,
});
console.log("CorrectWord: ", CorrectWord);
export let words = $state({ v: [] });
export let CurrentWord = $state({ v: [] });