fix: react warning for "p>div

This commit is contained in:
鲁树人 2023-05-15 00:27:21 +01:00
parent 8913b91a8f
commit c07c893767

View File

@ -12,7 +12,7 @@ const getSDKVersion = async () => {
export function SDKVersion() { export function SDKVersion() {
const sdkVersion = usePromise(getSDKVersion, []); const sdkVersion = usePromise(getSDKVersion, []);
return ( return (
<Flex pl="1" alignItems="center"> <Flex as="span" pl="1" alignItems="center">
<Tooltip <Tooltip
hasArrow hasArrow
placement="top" placement="top"