Skip to content

Commit

Permalink
fix: change prefetching stratergy
Browse files Browse the repository at this point in the history
  • Loading branch information
pushpak1300 committed Jan 10, 2025
1 parent 374e1e9 commit 1155c1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/Components/AppSidebarContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function renderLink(item) {
:class="{ 'font-semibold text-primary bg-secondary rounded': !item.external && route().current(item.route) }"
>
<SidebarMenuButton as-child>
<component v-bind="renderLink(item)" :is="item.external ? 'a' : Link" prefetch="mount">
<component v-bind="renderLink(item)" :is="item.external ? 'a' : Link" prefetch>
<Icon :icon="item.icon" />
{{ item.name }}
</component>
Expand Down

0 comments on commit 1155c1f

Please sign in to comment.