fix: unselectable ProxyNodeCard also has cursor-pointer applied

This commit is contained in:
kunish 2023-09-07 00:15:59 +08:00
parent b310b7d2ac
commit d5112f23da
No known key found for this signature in database
GPG Key ID: 647A12B4F782C430

View File

@ -20,9 +20,7 @@ export const ProxyCardGroups = (props: {
<ProxyNodeCard <ProxyNodeCard
proxyName={proxy} proxyName={proxy}
isSelected={props.now === proxy} isSelected={props.now === proxy}
onClick={() => { onClick={props.onClick ? () => props.onClick?.(proxy!) : undefined}
props.onClick?.(proxy!)
}}
/> />
)} )}
</InfiniteScroll> </InfiniteScroll>