fix: component warning

This commit is contained in:
GyDi 2022-03-05 15:48:39 +08:00
parent 9cd6c5c624
commit b91daebd92
No known key found for this signature in database
GPG Key ID: 1C95E0D3467B3084

View File

@ -102,8 +102,8 @@ const ProxyItem = (props: Props) => {
<>
{proxy.name}
{showType && <TypeBox>{proxy.type}</TypeBox>}
{showType && proxy.udp && <TypeBox>UDP</TypeBox>}
{showType && <TypeBox component="span">{proxy.type}</TypeBox>}
{showType && proxy.udp && <TypeBox component="span">UDP</TypeBox>}
</>
}
/>