Skip to content

Commit

Permalink
update for bybit
Browse files Browse the repository at this point in the history
  • Loading branch information
MickWang committed Sep 18, 2024
1 parent 9e7ef07 commit 4dfa316
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/transaction/TransactionFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
v-if="
connectorName !== 'WalletConnect' ||
(connectorName === 'WalletConnect' &&
(walletName?.includes('OKX') || walletName?.includes('MetaMask') || walletName?.includes('Binance')))
(walletName?.includes('OKX') || walletName?.includes('MetaMask') || walletName?.includes('Binance'))) ||
walletName?.includes('Bybit')
"
type="submit"
:disabled="switchingNetworkInProgress"
Expand Down
1 change: 1 addition & 0 deletions composables/zksync/useTransaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ export default (getSigner: () => Promise<Signer | undefined>, getProvider: () =>

return tx;
} catch (err) {
console.error(err);
error.value = formatError(err as Error);
status.value = "not-started";
}
Expand Down

0 comments on commit 4dfa316

Please sign in to comment.