fix: copy tooltip shows in wrong place

This commit is contained in:
Yi 2024-11-15 16:23:11 +08:00
parent a6be3fdcd0
commit 5ea306850e

View File

@ -32,6 +32,7 @@ const CopyBtn = ({
<div className={`${className}`}>
<Tooltip
popupContent={(isCopied ? t('appApi.copied') : t('appApi.copy'))}
asChild={false}
>
<div
onMouseLeave={onMouseLeave}