chore: don't use capture

This commit is contained in:
userquin 2023-01-09 01:00:51 +01:00
parent a217c59590
commit 1caa59acbe

View file

@ -50,7 +50,7 @@ const handleClick = (to: RouteLocationRaw) => {
tabindex="1" tabindex="1"
hover:bg-active transition-100 hover:bg-active transition-100
exact-active-class="children:(text-secondary !border-primary !op100 !text-base)" exact-active-class="children:(text-secondary !border-primary !op100 !text-base)"
@click.capture="handleClick(option.to)" @click="handleClick(option.to)"
> >
<span ws-nowrap mxa sm:px2 sm:py3 xl:pb4 xl:pt5 py2 text-center border-b-3 text-secondary-light hover:text-secondary border-transparent>{{ option.display }}</span> <span ws-nowrap mxa sm:px2 sm:py3 xl:pb4 xl:pt5 py2 text-center border-b-3 text-secondary-light hover:text-secondary border-transparent>{{ option.display }}</span>
</NuxtLink> </NuxtLink>