fixed so that you cant start the game untill you fill all the values anda ll
This commit is contained in:
parent
b2906bd53b
commit
dd140e23d1
2 changed files with 35 additions and 1 deletions
|
@ -1,10 +1,13 @@
|
|||
import { supabase } from "$lib/supabase.js";
|
||||
import { QuestionsData, wait } from "./create.svelte.js";
|
||||
import { IsAllValuesFilled } from "./IsAllValuesFilled.js";
|
||||
import toast from "svelte-5-french-toast";
|
||||
|
||||
export async function createGame() {
|
||||
if (!IsAllValuesFilled()) return;
|
||||
|
||||
console.log("Creating game rn!");
|
||||
|
||||
|
||||
if (wait.v) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue