forked from noxious/client
Removed unnecessary complexity in App.vue
This commit is contained in:
@ -6,7 +6,6 @@ import { useCookies } from '@vueuse/integrations/useCookies'
|
||||
|
||||
export const useGameStore = defineStore('game', {
|
||||
state: () => ({
|
||||
screen: 'login',
|
||||
token: '' as string | null,
|
||||
connection: null as Socket | null,
|
||||
user: null as User | null,
|
||||
@ -17,9 +16,6 @@ export const useGameStore = defineStore('game', {
|
||||
isUserPanelOpen: false
|
||||
}),
|
||||
actions: {
|
||||
setScreen(screen: string) {
|
||||
this.screen = screen
|
||||
},
|
||||
setToken(token: string) {
|
||||
this.token = token
|
||||
},
|
||||
|
Reference in New Issue
Block a user