diff --git a/src/components/CardHeading/CardHeading.vue b/src/components/CardHeading/CardHeading.vue index 88e2613..315f0e3 100644 --- a/src/components/CardHeading/CardHeading.vue +++ b/src/components/CardHeading/CardHeading.vue @@ -1,15 +1,17 @@ @@ -31,8 +33,4 @@ withDefaults( const emits = defineEmits(['onClick']) - + diff --git a/src/components/LoginDetails/LoginDetails.vue b/src/components/LoginDetails/LoginDetails.vue index 331d702..e46b68d 100644 --- a/src/components/LoginDetails/LoginDetails.vue +++ b/src/components/LoginDetails/LoginDetails.vue @@ -1,29 +1,31 @@ - - diff --git a/src/components/LoginForm/index.ts b/src/components/LoginForm/index.ts deleted file mode 100644 index 53ce3c7..0000000 --- a/src/components/LoginForm/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { default } from './LoginForm.vue' diff --git a/src/components/Navbar/Navbar.vue b/src/components/Navbar/Navbar.vue index 1cbc37a..18fe23d 100644 --- a/src/components/Navbar/Navbar.vue +++ b/src/components/Navbar/Navbar.vue @@ -24,9 +24,9 @@ const getStepLogo = (url: string) => { return new URL(`../../assets/images/${url}.svg`, import.meta.url).href } -const handleMenuClick = (index: number) => { +const handleMenuClick = (route: string) => { isMenuOpen.value = false - emits('onMenuClick', index) + router.push({ name: route }) } const logout = async () => { @@ -68,7 +68,7 @@ const isLoggedIn = computed(() => web3Auth.isLoggedIn)