try 3 to fix bugs for now by commenting them will actualy fix latter!
This commit is contained in:
parent
32d0a311f1
commit
c0d9668036
1 changed files with 3 additions and 2 deletions
|
@ -90,7 +90,7 @@ function GameWin() {
|
||||||
toast.success("You win!");
|
toast.success("You win!");
|
||||||
|
|
||||||
data.value[WordLegnth.v].push(words.v.length);
|
data.value[WordLegnth.v].push(words.v.length);
|
||||||
localStorage.setItem("WordleGamesData", JSON.stringify(data.value));
|
//localStorage.setItem("WordleGamesData", JSON.stringify(data.value));
|
||||||
newGame();
|
newGame();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -204,7 +204,8 @@ export let data = $state({
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
let WordleGamesData = localStorage.getItem("WordleGamesData") || "";
|
// let WordleGamesData = localStorage.getItem("WordleGamesData") || "";
|
||||||
|
let WordleGamesData = "";
|
||||||
|
|
||||||
if (WordleGamesData != "") {
|
if (WordleGamesData != "") {
|
||||||
data.value = JSON.parse(WordleGamesData);
|
data.value = JSON.parse(WordleGamesData);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue