Skip to content
This repository was archived by the owner on Dec 22, 2022. It is now read-only.

Commit fa7e17c

Browse files
committed
remove old redirect logic from account
1 parent a7181af commit fa7e17c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

pages/account.vue

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
<script setup lang="ts">
2-
import { useCustomer } from '@/stores'
3-
42
useHead({
53
title: 'Account',
64
})
7-
const router = useRouter()
8-
router.beforeEach((to, from) => {
9-
if(to.name === 'account' && !useCustomer().isSignedIn) {
10-
return navigateTo('/login')
11-
}
12-
})
135
</script>
146

157
<template>

0 commit comments

Comments
 (0)