feat(ui): FRO-34 Lobby
Started Lobby Component
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user