feat(ui): FRO-34 Lobby

Started Lobby Component
This commit is contained in:
LQ63
2025-12-11 02:05:58 +01:00
committed by Janis
parent d73b4f396b
commit 4463144d1b
7 changed files with 203 additions and 4 deletions

View File

@@ -20,6 +20,7 @@ export const useUserInfo = defineStore('userInfo', () => {
function requestState() {
axios.get(`${api}/status`, {withCredentials: true}).then((response) => {
console.log("STATUS DATA:" + response.data.status + response.data.inGame)
username.value = response.data.username;
if (response.data.ingame) {
gameId.value = response.data.gameId;