Skip to content

Commit

Permalink
fix: use prop in prefetch links (#4168)
Browse files Browse the repository at this point in the history
  • Loading branch information
agualis authored Sep 6, 2023
1 parent 4bf6180 commit 4a12663
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const classes = computed(() => ({
<template>
<router-link v-bind="props" :class="['desktop-link-item', classes]">
<slot />
<PrefetchLinks v-if="prefetch" :to="$attrs.to" />
<PrefetchLinks v-if="prefetch" :to="props.to" />
</router-link>
</template>

Expand Down

1 comment on commit 4a12663

@vercel
Copy link

@vercel vercel bot commented on 4a12663 Sep 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.