ayang
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
6 deletions
-
components/tooltip/index.tsx
|
|
@ -331,12 +331,11 @@ const Tooltip = React.forwardRef<TooltipRef, TooltipProps>((props, ref) => { |
|
|
|
return overlay || title || ''; |
|
|
|
}, [overlay, title]); |
|
|
|
|
|
|
|
const memoOverlayWrapper = |
|
|
|
typeof memoOverlay === 'function' ? ( |
|
|
|
() => <NoCompactStyle>{memoOverlay()}</NoCompactStyle> |
|
|
|
) : ( |
|
|
|
<NoCompactStyle>{memoOverlay}</NoCompactStyle> |
|
|
|
); |
|
|
|
const memoOverlayWrapper = ( |
|
|
|
<NoCompactStyle> |
|
|
|
{typeof memoOverlay === 'function' ? memoOverlay() : memoOverlay} |
|
|
|
</NoCompactStyle> |
|
|
|
); |
|
|
|
|
|
|
|
const { |
|
|
|
getPopupContainer, |
|
|
|