time limit now works and the limit shows in the hosts screen!
This commit is contained in:
parent
41941f98e8
commit
c3cfa144d3
8 changed files with 79 additions and 2 deletions
|
@ -9,6 +9,7 @@ export let questions = $state({
|
|||
name: "",
|
||||
answers: ["", "", "", ""],
|
||||
correctAnswer: undefined,
|
||||
timeLimit: 30,
|
||||
},
|
||||
],
|
||||
});
|
||||
|
@ -22,6 +23,7 @@ export function AddQuestion() {
|
|||
name: "",
|
||||
answers: ["", "", "", ""],
|
||||
correctAnswer: undefined,
|
||||
timeLimit: 30,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@ export async function createGame(questions, gamePin) {
|
|||
gameid: gamePin,
|
||||
questionstext: q.name,
|
||||
correctanswer: q.correctAnswer,
|
||||
timelimit: q.timeLimit,
|
||||
media: q.media || null,
|
||||
}));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue