Removed broken logic @TODO. replace with working logic :(
This commit is contained in:
@ -37,7 +37,6 @@ import { useCookies } from '@vueuse/integrations/useCookies'
|
||||
|
||||
const gameStore = useGameStore()
|
||||
const notifications = useNotificationStore()
|
||||
const assetStore = useAssetStore()
|
||||
const username = ref('')
|
||||
const password = ref('')
|
||||
|
||||
@ -52,10 +51,6 @@ onMounted(async () => {
|
||||
gameStore.setToken(token)
|
||||
gameStore.initConnection()
|
||||
}
|
||||
|
||||
if (!(await assetStore.fetchAssets())) {
|
||||
notifications.addNotification({ message: 'Failed to fetch assets, the server may be offline or in maintenance. Please try again later.' })
|
||||
}
|
||||
})
|
||||
|
||||
async function loginFunc() {
|
||||
|
Reference in New Issue
Block a user