Skip to content

Commit

Permalink
fix: unselectable ProxyNodeCard also has cursor-pointer applied
Browse files Browse the repository at this point in the history
  • Loading branch information
kunish committed Sep 6, 2023
1 parent b310b7d commit d5112f2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/ProxyCardGroups.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ export const ProxyCardGroups = (props: {
<ProxyNodeCard
proxyName={proxy}
isSelected={props.now === proxy}
onClick={() => {
props.onClick?.(proxy!)
}}
onClick={props.onClick ? () => props.onClick?.(proxy!) : undefined}
/>
)}
</InfiniteScroll>
Expand Down

0 comments on commit d5112f2

Please sign in to comment.