add span for ref
This commit is contained in:
1 parent
1d90b8d8d9
commit
713c3ea34f
1 file changed
+5
-1
@@ -32,5 +32,9 @@ export const StatusCodeLabel = ({
|
|||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
if (!tooltip) return body;
|
if (!tooltip) return body;
|
||||||
return <Tooltip title={tooltip}>{body}</Tooltip>;
|
return (
|
||||||
|
<Tooltip title={tooltip}>
|
||||||
|
<span>{body}</span>
|
||||||
|
</Tooltip>
|
||||||
|
);
|
||||||
};
|
};
|
||||||
Reference in new issue
Block a user