Template
id what this is
This commit is contained in:
+2
-1
@@ -13,8 +13,9 @@ async function createGame() {
|
||||
loading.value = true;
|
||||
await lobbyStore
|
||||
.createGame()
|
||||
.then(() => {
|
||||
.then((data) => {
|
||||
loading.value = false;
|
||||
navigateTo("/game/" + data.id);
|
||||
})
|
||||
.catch((e) => {
|
||||
if (e.data.statusCode == 400) {
|
||||
|
||||
Reference in New Issue
Block a user