fixed so that you cant start the game untill you fill all the values anda ll

This commit is contained in:
RezHackXYZ 2025-06-05 16:29:51 +05:30
parent b2906bd53b
commit dd140e23d1
2 changed files with 35 additions and 1 deletions

View file

@ -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;
}