mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
fix: copy tooltip shows in wrong place
This commit is contained in:
parent
a6be3fdcd0
commit
5ea306850e
|
@ -32,6 +32,7 @@ const CopyBtn = ({
|
||||||
<div className={`${className}`}>
|
<div className={`${className}`}>
|
||||||
<Tooltip
|
<Tooltip
|
||||||
popupContent={(isCopied ? t('appApi.copied') : t('appApi.copy'))}
|
popupContent={(isCopied ? t('appApi.copied') : t('appApi.copy'))}
|
||||||
|
asChild={false}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
onMouseLeave={onMouseLeave}
|
onMouseLeave={onMouseLeave}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user