chore: fallthrough attributes on AppLink

This commit is contained in:
Sajad Hashemian 2022-02-27 18:26:45 +03:30 committed by Dongsen
parent 1f0a9a4435
commit 1ca0e8794b
1 changed files with 0 additions and 4 deletions

View File

@ -2,7 +2,6 @@
<router-link
:aria-label="props.name"
:to="props"
v-bind="attrs"
>
<slot />
</router-link>
@ -10,7 +9,6 @@
<script setup lang="ts">
import type { AppRouteNames } from 'src/router'
import { useAttrs } from 'vue'
import type { RouteParams } from 'vue-router'
import { RouterLink } from 'vue-router'
@ -22,6 +20,4 @@ interface Props {
const props = withDefaults(defineProps<Props>(), {
params: () => ({}),
})
const attrs = useAttrs()
</script>