Skip to content

Commit

Permalink
Fix button child error in navbar (#49)
Browse files Browse the repository at this point in the history
initial commit
  • Loading branch information
evertonstz authored Apr 29, 2024
1 parent fd488ae commit 7fff83c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/BatteryIndicator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function BatteryIndicator() {

return (
<Tooltip>
<TooltipTrigger>{getIcon()}</TooltipTrigger>
<TooltipTrigger asChild>{getIcon()}</TooltipTrigger>
<TooltipContent>{tooltipContent}</TooltipContent>
</Tooltip>
);
Expand Down

0 comments on commit 7fff83c

Please sign in to comment.