Skip to content

Commit

Permalink
Merge branch 'jennifer/3248-bridge-develop-bridge-frontend' of https:…
Browse files Browse the repository at this point in the history
…//github.com/ten-protocol/go-ten into jennifer/3248-bridge-develop-bridge-frontend
  • Loading branch information
zkokelj committed Aug 14, 2024
2 parents 1fcfbdc + 1ec1146 commit 97fa89a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contracts/src/bridge/frontend/src/stores/wallet-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const useWalletStore = create<WalletState>((set, get) => ({

const newSigner = initializeSigner(detectedProvider);

// @ts-ignore
const chainId = await detectedProvider?.request({
method: requestMethods.getChainId,
params: [],
Expand All @@ -62,6 +63,7 @@ const useWalletStore = create<WalletState>((set, get) => ({
connectWallet: async () => {
try {
const detectedProvider = await getEthereumProvider();
// @ts-ignore
const accounts = await detectedProvider?.request({
method: requestMethods.connectAccounts,
params: [],
Expand Down

0 comments on commit 97fa89a

Please sign in to comment.