Fix checkpoint popover not opening due to StandardTooltip wrapper conflict (#5192)

This commit is contained in:
Daniel 2025-06-27 10:22:32 -05:00 committed by GitHub
parent c58b9638c5
commit b0190387ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -61,13 +61,13 @@ export const CheckpointMenu = ({ ts, commitHash, currentHash, checkpoint }: Chec
setIsOpen(open)
setIsConfirming(false)
}}>
<PopoverTrigger asChild>
<StandardTooltip content={t("chat:checkpoint.menu.restore")}>
<StandardTooltip content={t("chat:checkpoint.menu.restore")}>
<PopoverTrigger asChild>
<Button variant="ghost" size="icon">
<span className="codicon codicon-history" />
</Button>
</StandardTooltip>
</PopoverTrigger>
</PopoverTrigger>
</StandardTooltip>
<PopoverContent align="end" container={portalContainer}>
<div className="flex flex-col gap-2">
{!isCurrent && (