Skip to content

Commit

Permalink
fix(UsaSidenavItem): move order of v-bind=\"\\$attrs\" to prevent o…
Browse files Browse the repository at this point in the history
…verriding other props
  • Loading branch information
patrickcate committed Mar 19, 2024
1 parent c6b2c8e commit 238ca28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/UsaSidenavItem/UsaSidenavItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ const props = defineProps({
<template>
<li class="usa-sidenav__item" :class="customClasses?.item">
<BaseLink
v-bind="item?.attrs"
:href="item?.href"
:to="item?.to"
:router-component-name="item?.routerComponentName"
:class="customClasses?.link"
v-bind="item?.attrs"
><slot :item="item">{{ item?.text }}</slot></BaseLink
>
<ul
Expand Down

0 comments on commit 238ca28

Please sign in to comment.