replaced console with the toast insterd

This commit is contained in:
RezHackXYZ 2025-06-01 12:25:08 +05:30
parent e558f3abef
commit b7047b2a19
11 changed files with 7 additions and 31 deletions

View file

@ -129,15 +129,6 @@
border: 2px solid #444;
font-family: "JetBrains Mono", monospace;
}
h1 {
text-align: center;
margin: 5px 0px;
text-decoration: underline #444;
position: fixed;
top: 0;
left: 50%;
transform: translate(-50%, 0);
}
span {
font-size: 0.5em;

View file

@ -10,8 +10,6 @@ let CorrectWord = generate({
minLength: WordLegnth.v,
maxLength: WordLegnth.v,
});
console.log("CorrectWord: ", CorrectWord);
export let words = $state({ v: [] });
export let CurrentWord = $state({ v: [] });
export let keys = $state({
@ -52,7 +50,6 @@ export function newGame() {
minLength: WordLegnth.v,
maxLength: WordLegnth.v,
});
console.log("CorrectWord: ", CorrectWord);
words.v = [];
CurrentWord.v = [];
keys.v = [