Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

166
Views
Multiple prompt of metamask while clicking on connect to wallet button

https://codesandbox.io/s/dazzling-kepler-lupje0?file=/src/App.js:254-290 I have created useConnect() hook and connectToWallet() function inside it. I have created wallet in header component . And I also listen to accountChange of metamask in app component . in there is account is null I call logout function and otherwise connectToWallet() function of useConnect. When ever I click on wallet of header it call the connectToWallet() function and account will automatically listen to it as well. So it create multiple prompt of metamask.๐Ÿ™๐Ÿ™

about 4 years ago ยท Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
ยฉ 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!