Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

calling useOneInchSwap hook results to TypeError: Cannot read properties of undefined (reading 'chain') #244

Open
3 tasks done
mafking opened this issue May 3, 2022 · 2 comments

Comments

@mafking
Copy link

mafking commented May 3, 2022

New Bug Report

Checklist

Issue Description

Uncaught TypeError: Cannot read properties of undefined (reading 'chain')
at useOneInchSwap (useOneInchSwap.ts:57:1)
at App (App.js:40:1)
at renderWithHooks (react-dom.development.js:16175:1)
at mountIndeterminateComponent (react-dom.development.js:20913:1)
at beginWork (react-dom.development.js:22416:1)
at beginWork$1 (react-dom.development.js:27381:1)
at performUnitOfWork (react-dom.development.js:26513:1)
at workLoopSync (react-dom.development.js:26422:1)
at renderRootSync (react-dom.development.js:26390:1)
at recoverFromConcurrentError (react-dom.development.js:25806:1)

Steps + code to reproduce

Actual Outcome

Expected Outcome

Environment

Server

  • Moralis server version: FILL_THIS_OUT

Client

  • react-moralis version: FILL_THIS_OUT
  • Moralis SDK version: FILL_THIS_OUT
  • Operating system: FILL_THIS_OUT
  • Browser: FILL_THIS_OUT

Logs

@0xnirlin
Copy link

Any progress with this one? Facing same issue and damn not being able to solve for like 3 days now. Dont know whats going wrong and even on forum no one responding.

@mafking
Copy link
Author

mafking commented May 21, 2022

Any progress with this one? Facing same issue and damn not being able to solve for like 3 days now. Dont know whats going wrong and even on forum no one responding.

No progress,No answers, I had to suspend the swapping functionalities on my Dapp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants