mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
fix: move StandardTooltip inside PopoverTrigger in ShareButton (#5203)
This commit is contained in:
parent
de99e348df
commit
867eaf4d70
1 changed files with 4 additions and 4 deletions
|
|
@ -144,8 +144,8 @@ export const ShareButton = ({ item, disabled = false }: ShareButtonProps) => {
|
|||
<>
|
||||
{shareButtonState.showPopover ? (
|
||||
<Popover open={shareDropdownOpen} onOpenChange={setShareDropdownOpen}>
|
||||
<PopoverTrigger asChild>
|
||||
<StandardTooltip content={shareButtonState.title}>
|
||||
<StandardTooltip content={shareButtonState.title}>
|
||||
<PopoverTrigger asChild>
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
|
|
@ -154,8 +154,8 @@ export const ShareButton = ({ item, disabled = false }: ShareButtonProps) => {
|
|||
onClick={handleShareButtonClick}>
|
||||
<span className="codicon codicon-link"></span>
|
||||
</Button>
|
||||
</StandardTooltip>
|
||||
</PopoverTrigger>
|
||||
</PopoverTrigger>
|
||||
</StandardTooltip>
|
||||
<PopoverContent className="w-56 p-0" align="start">
|
||||
{shareSuccess ? (
|
||||
<div className="p-3">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue