Skip to content

Commit

Permalink
#portal-bridge-ui/issues/547 - avoid openning twice (#1273)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianscatularo authored Nov 28, 2023
1 parent 6de52c4 commit abd7220
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wormhole-connect/src/components/ChainsModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,9 @@ function ChainsModal(props: Props) {
) => {
if (href) {
props.onMoreNetworkSelect?.(href, chainName, target);
} else {
props.onMoreNetworkSelect?.(MORE_NETWORKS?.href!, chainName, target);
}
props.onMoreNetworkSelect?.(MORE_NETWORKS?.href!, chainName, target);
};
const supportedChains = useMemo(() => {
const supported = RouteOperator.allSupportedChains();
Expand Down

0 comments on commit abd7220

Please sign in to comment.