try 2 to fix bugs for now by commenting them will actualy fix latter!

This commit is contained in:
RezHackXYZ 2025-05-29 16:08:20 +05:30
parent 4ca279e79f
commit 32d0a311f1
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -34,7 +34,7 @@
}); });
export function newNames(Names) { export function newNames(Names) {
localStorage.setItem("Names", JSON.stringify(Names)); //localStorage.setItem("Names", JSON.stringify(Names));
RandomNamesState.NotSelectedYet = Names; RandomNamesState.NotSelectedYet = Names;
RandomNamesState.Selected = []; RandomNamesState.Selected = [];
RandomNamesState.Absent = []; RandomNamesState.Absent = [];

View file

@ -86,7 +86,7 @@ export function newGame() {
} }
function GameWin() { function GameWin() {
ShowAlert("You win!", "success"); //ShowAlert("You win!", "success");
toast.success("You win!"); toast.success("You win!");
data.value[WordLegnth.v].push(words.v.length); data.value[WordLegnth.v].push(words.v.length);
@ -165,7 +165,7 @@ export function ButtonPressed(key) {
SendWord(CurrentWord.v); SendWord(CurrentWord.v);
CurrentWord.v = []; CurrentWord.v = [];
} else { } else {
ShowAlert("Not a valid word", "error"); //ShowAlert("Not a valid word", "error");
} }
} }
return; return;