Skip to content

Commit

Permalink
modelprovidertooltip asChild
Browse files Browse the repository at this point in the history
  • Loading branch information
ivyjeong13 committed Dec 18, 2024
1 parent 0310817 commit 16a9f06
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ export function ModelProviderTooltip({
children
) : (
<Tooltip>
<TooltipTrigger>{children}</TooltipTrigger>
<TooltipTrigger asChild>
<span>{children}</span>
</TooltipTrigger>
<TooltipContent className="bg-warning">
Set up a model provider to enable this feature.
</TooltipContent>
Expand Down

0 comments on commit 16a9f06

Please sign in to comment.