Update App.vue

This commit is contained in:
Rémi Marseault 2023-11-05 01:09:47 +01:00 committed by Daan Wijns
parent 39793b1bfd
commit 3c8c0e7d54

View file

@ -14,7 +14,6 @@ import { useVueTorrentStore } from '@/stores/vuetorrent'
import { computed, onBeforeMount, watch } from 'vue'
import { useRoute, useRouter } from 'vue-router'
const router = useRouter()
const route = useRoute()
const authStore = useAuthStore()
@ -26,8 +25,6 @@ const navbarStore = useNavbarStore()
const preferencesStore = usePreferenceStore()
const vuetorrentStore = useVueTorrentStore()
const onLoginPage = computed(() => route.name === 'login')
const checkAuthentication = async () => {
await authStore.updateAuthStatus()
}