Skip to content

Commit

Permalink
chore(user): 🔥 remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
wrzrmzx committed Feb 21, 2024
1 parent 2ed924f commit c902481
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pages/user/login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ definePageMeta({
const route = useRoute()
const { onLogin } = useApollo()
const { t } = useI18n()
const auth = await useAuth()
useHead({
title: () => `${t('user.login.title')}`,
Expand Down Expand Up @@ -136,7 +135,6 @@ async function login() {
}
await onLogin(token)
await auth.refresh()
await refreshNuxtData()
navigateTo(from.value)
Expand Down

0 comments on commit c902481

Please sign in to comment.