Skip to content

Commit

Permalink
docs(blocks): correct tooltip prop for dynamic binding (#850)
Browse files Browse the repository at this point in the history
  • Loading branch information
zorenkonte authored Nov 2, 2024
1 parent 2cb7671 commit baceb4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/www/src/lib/registry/default/block/Sidebar07.vue
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ function setActiveTeam(team: typeof data.teams[number]) {
>
<SidebarMenuItem>
<CollapsibleTrigger as-child>
<SidebarMenuButton tooltip="item.title">
<SidebarMenuButton :tooltip="item.title">
<component :is="item.icon" />
<span>{{ item.title }}</span>
<ChevronRight class="ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90" />
Expand Down
2 changes: 1 addition & 1 deletion apps/www/src/lib/registry/new-york/block/Sidebar07.vue
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ function setActiveTeam(team: typeof data.teams[number]) {
>
<SidebarMenuItem>
<CollapsibleTrigger as-child>
<SidebarMenuButton tooltip="item.title">
<SidebarMenuButton :tooltip="item.title">
<component :is="item.icon" />
<span>{{ item.title }}</span>
<ChevronRight class="ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90" />
Expand Down

0 comments on commit baceb4c

Please sign in to comment.