CYS - fix warning Tooltip (#45592)
* CYS - fix warning * Add changefile(s) from automation for the following project(s): woocommerce --------- Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
parent
6016aad6c2
commit
e5d33df9ab
|
@ -25,7 +25,11 @@ import Iframe from './iframe';
|
|||
|
||||
const WithToolTip = ( { showTooltip, title, children } ) => {
|
||||
if ( showTooltip ) {
|
||||
return <Tooltip text={ title }>{ children }</Tooltip>;
|
||||
return (
|
||||
<Tooltip text={ title }>
|
||||
<span>{ children }</span>
|
||||
</Tooltip>
|
||||
);
|
||||
}
|
||||
return <>{ children }</>;
|
||||
};
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: minor
|
||||
Type: fix
|
||||
|
||||
CYS - fix warning Tooltip
|
Loading…
Reference in New Issue