fix: react warning for "p>div

This commit is contained in:
鲁树人 2023-05-15 00:27:21 +01:00
parent 159d23a005
commit 55e2a4b7d3

View File

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