Skip to content

Commit

Permalink
Claim NFT (fix init contract)
Browse files Browse the repository at this point in the history
  • Loading branch information
urko94 committed Feb 7, 2024
1 parent 90f64a2 commit 1122bc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composables/useContract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default function useContract() {
async function initContract() {
if (!walletClient.value) {
await refetch();
await sleep(10);
await sleep(200);
}
if (!chain || !chain.value || chain?.value.id !== usedChain.id) {
switchNetwork(usedChain.id);
Expand Down

0 comments on commit 1122bc7

Please sign in to comment.