Skip to content

Commit

Permalink
coinbase
Browse files Browse the repository at this point in the history
  • Loading branch information
windatang committed Nov 9, 2022
1 parent 1a3dedf commit 90911aa
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions packages/core/src/modal/WalletModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,22 +253,22 @@ export const ModalWalletConnectPanel = withTranslation("common")(
[setShowConnect]
),
},
// {
// ...DefaultGatewayList[3],
// handleSelect: React.useCallback(
// async (event, flag?) => {
// walletServices.sendDisconnect("", "should new provider");
// setShowConnect({
// isShow: true,
// step: WalletConnectStep.WalletConnectProcessing,
// });
// setConnectProvider(DefaultGatewayList[3].key);
// setProcessingCallback({ callback: CoinbaseCallback });
// setStateCheck(true);
// },
// [setShowConnect]
// ),
// },
{
...DefaultGatewayList[3],
handleSelect: React.useCallback(
async (event, flag?) => {
walletServices.sendDisconnect("", "should new provider");
setShowConnect({
isShow: true,
step: WalletConnectStep.WalletConnectProcessing,
});
setConnectProvider(DefaultGatewayList[3].key);
setProcessingCallback({ callback: CoinbaseCallback });
setStateCheck(true);
},
[setShowConnect]
),
},
]
: [
...(window.ethereum
Expand Down

2 comments on commit 90911aa

@vercel
Copy link

@vercel vercel bot commented on 90911aa Nov 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 90911aa Nov 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

loopring-bridge – ./packages/web-bridge

loopring-bridge-loopring.vercel.app
loopring-bridge-git-released-loopring.vercel.app
bridge.loopring.io

Please sign in to comment.